Components › Forms
Native select
A styled browser select that keeps the platform’s own picker and keyboard behavior.
Installation
npx plankui@latest add native-selectUsage
import { NativeSelect } from "@/components/ui/native-select";
<NativeSelect aria-label="Time zone" defaultValue="utc">
<option value="utc">Coordinated Universal Time</option>
<option value="kolkata">Asia/Kolkata</option>
</NativeSelect>API reference
| Prop | Type | Default | Description |
|---|---|---|---|
| size | "sm" | "md" | "md" | Control height. |
| wrapperClassName | string | Styles the wrapper around the select and chevron. |