Textarea

A multi-line text field for longer messages and notes.

components/ui/textarea.tsx

Installation

npx betterone-ds add textarea

Props

PropTypeDefault
placeholderstring—
isDisabledbooleanfalse
rowsnumberauto

Accessibility

  • Always pair with a visible Label or aria-label.
  • Do not use placeholder text as the only label.