Primitives

Textarea

Multi-line text entry with label, hint, and error states — mirrors Input API

Markdown version for agents

Import
import { Textarea } from '@amezquita/design-system/components/primitives/Textarea'

Live render

0/200

    Props

    PropTypeDescription
    label?string
    value?string
    defaultValue?string
    onChange?(value: string) => void
    error?string
    hint?string
    characterCount?boolean
    aria-label?string

    Also accepts all props of: Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, 'onChange' | 'value' | 'defaultValue' | 'children'>

    Usage example

    tsx
    <Textarea
      id="default"
      label="Message"
      placeholder="Write your message…"
    />