Skip to content

Command

Searchable command palette modal.

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

or directly via the shadcn CLI:

Terminal window
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)}
/>
  • components/ui/command.tsx

Installs together with: utils, text, theme