Badge
Displays a badge component.
Badge
Installation
Install via VScode or copy and paste the code below into a new file, preferably in a folder at components/base.
Base
Examples
Default
bl-badge
import { Badge } from "@/components/base/badge";
export const BadgeExample = () => <Badge>Badge</Badge>;
Variants
Intent
Default
Info
Alert
<Badge>Default</Badge>
<Badge>Info</Badge>
<Badge>Alert</Badge>
Sizes
Small
Medium
Large
<Badge size="sm">Small</Badge>
<Badge size="md">Medium</Badge>
<Badge size="lg">Large</Badge>