UIComponentsReact
The browser's own select, styled like the other fields.
Rendered by React 19.3.1
Installation
npx shadcn@4.23.0 add https://hamur.dev/r/react/native-select.jsonIt also adds utils. The app needs its setup first: Installation.
Usage
Write NativeSelectOptions and NativeSelectOptGroups inside, as option and optgroup. Use it where the platform's picker is wanted, on phones in particular.
import { NativeSelect, NativeSelectOptGroup, NativeSelectOption } from '@/components/ui/native-select'Examples
API reference
Native Select wraps no headless component of its own: its parts are elements with classes, and their props are the element's.