Textarea
A styled textarea element that auto-sizes to its content and supports focus, disabled, and invalid states via standard HTML textarea props.
Default
0 characters
Auto Resize
Grows as you type — no scrollbar until the row limit is reached.
Explicit row count disables auto-grow; scroll appears when content overflows.
Character Count
280
Disabled
Error State
Bio must be 120 characters or fewer.
151 / 120
Readonly
Read-only — select and copy the text above.
With Label And Hint
These notes are only visible to you and your team.
*
Minimum 20 characters. Markdown is supported.
Optional
Installation
npx shadcn@latest add @byronwade/textareaProps
| Prop | Type | Default | Description |
|---|---|---|---|
| className | string | — | Additional CSS classes to merge with the default textarea styles. |
| ...props | React.ComponentProps<"textarea"> | — | All standard HTML textarea attributes (value, placeholder, onChange, rows, disabled, aria-invalid, etc.). |