Skip to content

Checkbox

Pressable checkbox with lucide check icon.

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

or directly via the shadcn CLI:

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

npm dependencies installed automatically: lucide-react-native

const [checked, setChecked] = useState(false);
<Checkbox checked={checked} onCheckedChange={setChecked} />
  • components/ui/checkbox.tsx

Installs together with: utils, theme