Textarea Autogrow with Stimulus
Auto-resizing a textarea can be a great UX improvement. It helps the user keep track of their writings. This Stimulus-only component is simple to use, with options to disable manual resize and adding a maximum height. It even supports programmatic input.
-
Default # Get this component
⚠️ JavaScript is disabled for this preview.Type beyond the one line.
-
Without resize # Get this component
⚠️ JavaScript is disabled for this preview.Type beyond the one line.
-
With max height # Get this component
⚠️ JavaScript is disabled for this preview.Type beyond the one line.
The library of components is continuously evolving, with new components added regularly. Check out the changelog for the latest additions and updates.