Components
/
Badge
Badge
Displays a badge or a component that looks like a badge.
BadgeSecondaryDestructiveOutline
Verified89920+
Installation
npx shadcn@latest add https://ui.saturation.io/r/badge.jsonUsage
import { Badge } from "@/components/ui/badge"
export function BadgeDemo() {
return <Badge>Badge</Badge>
}Examples
Variants
DefaultSecondaryDestructiveOutline
With Icon
Verified
Circular
89920+
With Dot
CompletedPendingErrorIn Progress
Closable
Closable
API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
variant | "default" | "secondary" | "destructive" | "outline" | "default" | The visual style of the badge |
className | string | - | Additional CSS classes |
Deploy your Saturation UI app
Build beautiful, saturated interfaces with our component library.
Deploy to Vercel for the best performance and developer experience.