brijr/ui

Lab

Textarea

npx shadcn@latest add @brijr/textarea

States

empty · placeholder
filled
aria-invalid
aria-invalid · empty
disabled
disabled · empty
readOnly
required

Sizing

field-sizing-content · long value grows
default max-h-64 · stops growing and scrolls
autoResize · max-h-32 · scrolls
rows 6
rows 14 · not capped
min-h-32 · empty

Native validation

No Field and no aria-invalid. Press Send with the field empty: the browser marks it :user-invalid and it turns red.

With label

Shown on your public profile. Up to 160 characters.

Enter at least 20 characters.

Content

narrow
unbroken string
multiline
full width