Autosize Textarea
A production-scale, light + dark Autosize Textarea component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add autosize-textareaUsage
import { AutosizeTextarea } from "@lerpa/ui";
<AutosizeTextarea />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| label | string | — | |
| placeholder | string | — | |
| defaultValue | string | — | |
| maxLength | number | — | |
| minRows | number | — | |
| maxRows | number | — | |
| accent | string | — |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.