Inputs
Auto Grow Textarea
Auto Grow Textarea: A multi-line text field that grows taller as the person types more, instead of scrolling inside a fixed box.
Using Auto Grow Textarea
Auto Grow Textarea uses the card preview frame with a light/dark theme setting.
Customize the preview
These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.
| Control | Type | Default | Preview limits |
|---|---|---|---|
placeholder | text | Write a short note... | Up to 60 characters |
accent | color | #FF4D8D | No additional limit in the metadata. |
rows | number | 3 | From 1 to 8; step 1 |
Which frameworks are available for Auto Grow Textarea?
Auto Grow Textarea is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.
What does Auto Grow Textarea depend on?
The React metadata lists no additional npm dependencies beyond React.
What accessibility details are visible in Auto Grow Textarea?
The React source for Auto Grow Textarea includes: native elements (textarea). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.
How does Auto Grow Textarea handle reduced motion?
The source scan found no direct useReducedMotion() or matchMedia preference read in Auto Grow Textarea's index.tsx. Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.