Components
Native Select
A native-select component
Preview
Loading...
import { NativeSelect, NativeSelectOption,} from "@/registry/axon/ui/native-select";export default function NativeSelectDemo() { return ( <NativeSelect> <NativeSelectOption value="">Select status</NativeSelectOption> <NativeSelectOption value="todo">Todo</NativeSelectOption> <NativeSelectOption value="in-progress">In Progress</NativeSelectOption> <NativeSelectOption value="done">Done</NativeSelectOption> <NativeSelectOption value="cancelled">Cancelled</NativeSelectOption> </NativeSelect> );}Installation
CLI
npx shadcn@latest add @emberui/native-selectyarn shadcn@latest add @emberui/native-selectpnpm dlx shadcn@latest add @emberui/native-selectbunx --bun shadcn@latest add @emberui/native-selectReference
This component is based on the shadcn/ui Native Select component.