← Inventory
NativeSelect
Styled wrapper around a real native <select>, so it stays controlled and
accessible through standard select props (value/defaultValue/onChange)
and keeps the platform's keyboard and mobile picker behavior.
Usage
import { NativeSelect, NativeSelectOptGroup, NativeSelectOption } from "@desk/ui/components/native-select";Best practices
NativeSelectwraps a real<select>— use standardvalue/defaultValue/onChangeandNativeSelectOption/NativeSelectOptGroupchildren, not RadixSelectparts.Reach for
NativeSelectwhen the native mobile picker and zero-JS behavior matter; use the RadixSelectwhen you need custom-rendered option content or styling.It has no built-in label — associate a
LabelviahtmlFor/idfor an accessible name.
Props
Also exports
- component
NativeSelect - component
NativeSelectOptGroup - component
NativeSelectOption
Composition
Builds on