Skip to content
RivetUI

Textarea

Accepts longer, multiline text using a native textarea element.

@rivetui/textarea

Preview

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.

Registry

Installation

Add the component source and its declared dependencies with the shadcn CLI.

Install component
bunx --bun shadcn@latest add @rivetui/textarea
Inspect registry item

Public interface

API reference

Component-specific props are listed here. Native element and Base UI props continue to pass through.

PropTypeDefault
rowsnumber—
disabledbooleanfalse
aria-invalidboolean | stringfalse
Rivet UI / TextareaComponents engineered, not decorated.