structyl

Textarea Autosize API

View component

The 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.

PropTypeDefault
minRows#number

Minimum rows.

1
maxRows#number

Maximum rows before scrolling.

className#string

Additional Tailwind classes merged with the component defaults.

Source code

If you didn't find what you need here, read the component implementation .

structyl — Accessible React Component Library