shadcn

Badge

Add component to project

npxshadcn@latest add "https://21st.dev/r/shadcn/badge"
import { Badge } from "@/components/ui/badge"

function BadgeDemo() {
  return <Badge>Badge</Badge>
}

function BadgeSecondary() {
  return <Badge variant="secondary">Secondary</Badge>
}

function BadgeOutline() {
  return <Badge variant="outline">Outline</Badge>
}

function BadgeDestructive() {
  return <Badge variant="destructive">Destructive</Badge>
}

export default { BadgeDemo, BadgeSecondary, BadgeOutline, BadgeDestructive }