Textarea
Accepts longer, multiline text using a native textarea element.
@rivetui/textareaPreview
Explore each composition interactively, then open its code in the same context.
With supporting text
Use a native textarea for longer content and explain how the value will be used.
Visible to everyone with access to this deployment.
States
Populated and disabled textareas keep the same vertical rhythm and resize behavior.
Validation
Associate invalid multiline input with a specific correction message.
Provide at least 30 characters.
Registry
Installation
Add the component source and its declared dependencies with the shadcn CLI.
Install component
bunx --bun shadcn@latest add @rivetui/textareaPublic interface
API reference
Component-specific props are listed here. Native element and Base UI props continue to pass through.
| Prop | Type | Default |
|---|---|---|
rows | number | — |
disabled | boolean | false |
aria-invalid | boolean | string | false |