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

PropTypeDefaultDescription
options*SelectOption[]Dropdown options
valuestringSelected value
onChange(value: string) => voidChange handler
placeholderstringPlaceholder text
labelstringField label