Badge

Small status label with six tones and an optional pulsing dot.

statuslabel
Live

Usage

Drop the file into your project and import it. There is no package to install.

usage.tsx
import { Badge } from "@/registry/components/badge";

export function Example() {
  return <Badge />;
}

Install prerequisites

Every component here relies only on Tailwind and the cn helper from shadcn/ui.

terminal
npm i clsx tailwind-merge

More in Libraries