Select

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

Select uses a native HTML select, it means it is totally accessible on all devices.

API

Select

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