Join our Discord Community
Badge/Standard

React Badge with Text

A compact inline badge with primary styling for status indicators, labels, and category tags

Looking to implement shadcn/ui patterns?

Join our Discord community for help from other developers.


Badges are those little colored pills you see everywhere—New, Beta, Premium, Verified. This React badge uses shadcn/ui's default variant with primary brand colors for highlighting important states, features, or categories. Built with Radix UI primitives, it's compact, inline, and semantically flexible. Perfect for status indicators on cards, feature tags in navigation, version labels on docs, or category pills on blog posts where you need subtle but noticeable visual markers.

Loading preview...

Pattern created by @haydenbleasel

Installation

npx shadcn@latest add https://www.shadcn.io/registry/badge-standard-1.json
npx shadcn@latest add https://www.shadcn.io/registry/badge-standard-1.json
pnpm dlx shadcn@latest add https://www.shadcn.io/registry/badge-standard-1.json
bunx shadcn@latest add https://www.shadcn.io/registry/badge-standard-1.json

Questions you might have