Textarea

Sizes

Set scales using scale prop like "xs", "sm", "lg" or "xl". The default scale is "base".

Disabled

Disable using disabled prop.

Validation

  • Set validation using aria-invalid or aria-invalid={false}

Accessibility

Textarea uses a native HTML textarea, it means it is totally accessible on all devices.

API

Textarea

PropertyTypeRequiredDefaultDescription
childrennodefalse-
disabledbooleanfalse-
scale
enum
false-
Show xstyled properties