Skip to content

Badge

Small status pill with tv() variants.

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

or directly via the shadcn CLI:

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

npm dependencies installed automatically: tailwind-variants

<Badge>Default</Badge>
<Badge variant="secondary">Beta</Badge>
<Badge variant="outline">Outline</Badge>
  • components/ui/badge.tsx

Installs together with: utils, theme