Skip to Content

Badge

Badge example: a small pill label in default, secondary, destructive, outline, ghost and link variants. It can render as a link, for statuses, tags and counts.

View as Markdown
pnpm dlx shadcn add @01orbital/badge

Examples

Neoconstructbadge-neoconstruct

Badge example in the Neoconstruct poster style: square, uppercase, with a heavy border in the theme's gold. Brings the Neoconstruct theme with it.

pnpm dlx shadcn add @01orbital/badge-neoconstruct

Neoconstruct Ribbonbadge-neoconstruct-ribbon

Badge example: a poster-red Neoconstruct badge with a gold corner folded in. Shows a ribbon-style badge for sale or featured labels.

pnpm dlx shadcn add @01orbital/badge-neoconstruct-ribbon

Neoconstruct Fundraiserbadge-neoconstruct-fundraiser

Badge example: a Neoconstruct fundraising card with a gold match badge, a red ribbon badge, a progress bar and a disclosure. Shows poster-style badges on a donation card.

pnpm dlx shadcn add @01orbital/badge-neoconstruct-fundraiser

Neoconstruct Room Statusbadge-neoconstruct-room-status

Badge example: a Neoconstruct room list with status badges, one inverted for open, and a disclosure for each room. Shows badges as availability status labels.

pnpm dlx shadcn add @01orbital/badge-neoconstruct-room-status

Zora Admissionbadge-zora-admission

Badge example: square badges for admission and access labels on a paper-grain museum card. Shows badges as ticket-type tags.

pnpm dlx shadcn add @01orbital/badge-zora-admission

Neoconstruct Print Runbadge-neoconstruct-print-run

Badge example: a gold Neoconstruct badge, a row of band markers and a bold headline on a dark print-shop poster. Shows a poster-style badge in a promo.

pnpm dlx shadcn add @01orbital/badge-neoconstruct-print-run

Neoconstruct Night Shift Ticketbadge-neoconstruct-night-shift-ticket

Badge example: a red Neoconstruct ribbon badge on a tilted paper admission ticket with a perforated stub. Shows a badge on an event ticket.

pnpm dlx shadcn add @01orbital/badge-neoconstruct-night-shift-ticket

Dependencies

npm: @base-ui/react, class-variance-authority, cn. The CLI installs them for you. cn merges Tailwind class names, in place of clsx and tailwind-merge.

Used in blocks

44 blocks are built with Badge; the first 12: