select/01-basic-select
A simple dropdown select component with options. Use this for form inputs and user choices.
Loading interactive preview
import { Select } from 'ui-lab-components/select';
export default function Example() {
return (
<Select>
<Select.Trigger>
<Select.Value placeholder="Select an option" />
</Select.Trigger>
<Select.Content>
<Select.Item value="option1" textValue="Option 1">Option 1</Select.Item>
<Select.Item value="option2" textValue="Option 2">Option 2</Select.Item>
<Select.Item value="option3" textValue="Option 3">Option 3</Select.Item>
</Select.Content>
</Select>
);
}