Colored Badge
8 variantsBadge tinted with a color (background 10%, text full, border 20%).
Component 1 of 1
Install
Add this component to your project with the shadcn CLI. Pick the mode that matches how you installed the registry.
bash
npx shadcn@latest add deessejs/ui/colored-badgeOther install modes
URL mode — works against the deployed showcase site:
bash
npx shadcn@latest add https://ui.deessejs.com/r/colored-badge.jsonNamespace mode — register once, then any item by short name:
bash
npx shadcn@latest registry add @deessejs=https://ui.deessejs.com/r/{name}.jsonbash
npx shadcn@latest add @deessejs/colored-badgePreviewdefault
BlueGreenRedYellowOrangePurplePinkGray