Badge

Badge is a neobrutalist React component from Cruise UI. A small label for status or category: Paid, New, Sold out. Install it with npx shadcn@latest add @cruiseui/badge.

Install

Terminal

npx shadcn@latest add @cruiseui/badge

First time? Installation shows the one-off components.json setup (the @cruiseui registry) and how to turn the theme on.

Example

Corners
NewMost popularPaidOverdueSale

When to use it

When to use

Short status or category labels next to content.

When not to

Anything people can click (use a Button). Long text.

Props

CruiseBadge

PropTypeDefaultDescription
childrenReactNode——
tone?CruiseBadgeTone"surface"—
sticker?boolean—Rotates -3deg for a sticker look. Max 1–2 per screen.
className?string——

Accessibility

  • Plain text, so screen readers read it in place.
  • Status colours always come with a word (Paid, Overdue), never colour alone.