Textarea Autosize API
View componentThe full prop reference for the Textarea Autosize component. A textarea that grows with its content.
Import
tsx
import { TextareaAutosize } from '@structyl/styled';Props
TextareaAutosize
Auto-growing textarea.
| Prop | Type | Default |
|---|---|---|
| minRows# | numberMinimum rows. | 1 |
| maxRows# | numberMaximum rows before scrolling. | — |
| className# | stringAdditional Tailwind classes merged with the component defaults. | — |
Source code
If you didn't find what you need here, read the component implementation .