Command
Searchable command palette modal.
Install
Section titled “Install”npx github:truongnat/rnui#cli add commandor directly via the shadcn CLI:
npx shadcn add https://<registry-base>/r/nativewind/command.json # or /uniwind/npm dependencies installed automatically: lucide-react-native
<Command open={open} onOpenChange={setOpen} items={[ { label: 'Profile', value: 'profile' }, { label: 'Settings', value: 'settings' }, ]} onSelect={(item) => console.log(item.value)}/>Source
Section titled “Source”components/ui/command.tsx
Installs together with: utils, text, theme