Button
Pressable button with variant + size styles via tailwind-variants slots.
Install
Section titled “Install”npx github:truongnat/rnui#cli add buttonor directly via the shadcn CLI:
npx shadcn add https://<registry-base>/r/nativewind/button.json # or /uniwind/npm dependencies installed automatically: tailwind-variants
<Button onPress={() => {}}>Primary</Button><Button variant="secondary" size="sm">Secondary</Button><Button variant="outline">Outline</Button><Button variant="destructive">Delete</Button>Source
Section titled “Source”components/ui/button.tsx
Installs together with: utils, theme