Switch
Animated toggle built on RN Animated (no reanimated dep).
Install
Section titled “Install”npx github:truongnat/rnui#cli add switchor directly via the shadcn CLI:
npx shadcn add https://<registry-base>/r/nativewind/switch.json # or /uniwind/const [on, setOn] = useState(false);<Switch checked={on} onCheckedChange={setOn} />Source
Section titled “Source”components/ui/switch.tsx
Installs together with: utils, theme