Skip to content

Select

Modal-based option picker (wave 1; anchor popover later).

Terminal window
npx github:truongnat/rnui#cli add select

or directly via the shadcn CLI:

Terminal window
npx shadcn add https://<registry-base>/r/nativewind/select.json # or /uniwind/

npm dependencies installed automatically: lucide-react-native

<Select
options={[
{ label: 'Apple', value: 'apple' },
{ label: 'Banana', value: 'banana' },
]}
value={value}
onValueChange={setValue}
placeholder="Pick a fruit"
/>
  • components/ui/select.tsx

Installs together with: utils, text, theme