Textarea
A control for entering and editing multi-line text.
$
Registry itembunx shadcn@latest add @nx-ui/textareaInstalls withutils
Basic
Pair a Textarea with a Label using a matching id. Uncontrolled by default.
Sizing
`field-sizing-content` lets the field grow with its content down to a min-h-16; `rows` sets a starting height, and an explicit height class can cap it for a fixed scrolling area.
States
Disabled dims and blocks interaction; aria-invalid draws the destructive ring for validation errors.
A reason is required to reject this consignment.
Composition: incident report
A Textarea inside Field/FieldLabel, with a live character count and a submitting state.
API reference
Exported parts and their props, extracted from the component source.
…extends React.ComponentProps<"textarea">