Select
Dropdown select with label. Custom styled to match the design system.
Preview
Usage
import { Select } from '@ramtt/ui'
<Select
label="Zone model"
options={[
{ value: 'coggan', label: 'Coggan' },
{ value: 'ramtt', label: 'RAMTT' },
]}
value="ramtt"
onChange={setValue}
/>Props
| Prop | Type | Default | Description |
|---|---|---|---|
| options* | SelectOption[] | — | Dropdown options |
| value | string | — | Selected value |
| onChange | (value: string) => void | — | Change handler |
| placeholder | string | — | Placeholder text |
| label | string | — | Field label |