Components/Forms & inputs/Select
component

Select<V extends string | number = string>

src/components/selects.tsx

Import

import { Select } from "@ossrandom/design-system";

Examples

Default

↗ Playground

Sizes

↗ Playground

States

↗ Playground

API

extends BaseProps

PropType
options required readonly SelectOption<V>[]
value V
defaultValue V
placeholder string
searchable boolean
clearable boolean
disabled boolean
status InputStatus
size Size
onChange (value: V, option: SelectOption<V>) => void;