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 componentType beyond the one line.
JavaScript is disabled for this preview
-
Without resize
Get this componentType beyond the one line.
JavaScript is disabled for this preview
-
With max height
Get this componentType beyond the one line.
JavaScript is disabled for this preview