Badge

Displays a badge or a component that looks like a badge.

The Badge component displays a small badge or label with various styling options. It supports multiple variants including default, secondary, destructive, and outline. Built from scratch using React and native HTML div elements. No UI library dependencies.

Quick Install

Install via shadcn/ui CLI

Examples

Badge
Secondary
Destructive
Outline