Primitives
Select
A styled select dropdown with label, placeholder, and option groups.
Preview:1280px
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| options | SelectOption[] | - | Array of { value, label } objects. |
| value | string | - | Controlled selected value. |
| onChange | (value: string) => void | - | Fired when selection changes. |
| label | string | - | Label shown above the select. |
| placeholder | string | 'Select an option' | Placeholder when no value is selected. |
| searchable | boolean | false | Enable search/filter within the dropdown. |