Select
Dropdown selector with keyboard navigation and optional search.
Basic Select
Simple dropdown select
With Label
Select with label text
Searchable
Select with search functionality
With Helper Text
Select with helper message
Select the priority level for this task
Error State
Select showing error
This field is required
Disabled State
Disabled select
With Disabled Options
Select with some disabled options
Enterprise requires contacting sales
| Prop | Type | Default | Description |
|---|---|---|---|
options | SelectOption[] | [] | Array of options with value and label |
value | string | undefined | Currently selected value |
placeholder | string | 'Select...' | Placeholder text when no value is selected |
onChange | (value: string) => void | undefined | Callback when value changes |
searchable | boolean | false | Whether to show search input |
label | string | undefined | Label text for the select |
error | boolean | false | Error state |
helperText | string | undefined | Helper text below select |
disabled | boolean | false | Disabled state |
check_circleWhen to use
- Use when there are 5+ options to choose from
- Use searchable variant for long lists (10+ options)
- Provide clear labels that describe the selection
cancelWhen not to use
- Don't use for 2-3 options (use radio buttons instead)
- Don't use for multi-select (use checkboxes)
- Don't hide important options that users need to see at once