Select
InputMITDropdown select with options, groups, search, and full keyboard navigation.
bun add @otfdashkit/ui
Preview
SelectInput
Loading Storybook preview…
Code
@otfdashkit/uiimport { Select, SelectTrigger, SelectValue, SelectContent, SelectItem, SelectGroup, SelectLabel } from '@otfdashkit/ui'
export function Example() {
return (
<div className="w-60">
<Select>
<SelectTrigger>
<SelectValue placeholder="Select a role" />
</SelectTrigger>
<SelectContent>
<SelectGroup>
<SelectLabel>Roles</SelectLabel>
<SelectItem value="admin">Admin</SelectItem>
<SelectItem value="editor">Editor</SelectItem>
<SelectItem value="viewer">Viewer</SelectItem>
</SelectGroup>
</SelectContent>
</Select>
</div>
)
}
Free with the SDK. This component ships in @otfdashkit/ui under the MIT license.