data display
badge
a small raised label for status and little bits of info.
installation
new to blurrow? this sets up your project in one go: the package, the styles and the font. already done it? skip straight to usage. the installation page has the details.
bash
npx @blurrow/ui init›rather own the code? copy the source instead
let the cli copy it, along with anything it needs:
bash
npx @blurrow/ui add badgeor by hand: drop this file into components/ui and import from there.
usage
tsx
import { Badge } from "@blurrow/ui";tsx
<Badge variant="accent">new</Badge>examples
variants
props
straight from the source, so they're always up to date.
propsts
type BadgeVariant = "default" | "muted" | "accent";
interface BadgeProps { variant?: BadgeVariant; children: React.ReactNode; className?: string;}