New
import { Badge } from "@/components/ui/badge" export function BadgeDemo() {Installation
pnpm dlx shadcn@latest add @uarui/badgeUsage
Secondary
Use variant="secondary" for editorial kickers and announcement pills.
UarUI · Open Source
import { Badge } from "@/components/ui/badge" export function BadgeSecondary() {Outline
Use variant="outline" for version tags and lightweight labels.
v0.1.0
import { Badge } from "@/components/ui/badge" export function BadgeOutline() {Destructive
Use variant="destructive" for error states or deprecation notices.
Deprecated
import { Badge } from "@/components/ui/badge" export function BadgeDestructive() {As Link
Pass a link element to the render prop to make a badge navigable.
import Link from "next/link"import { Badge } from "@/components/ui/badge"