@zedtech/zedkit-ui
Show a status or count badge
@zedtech/zedkit-ui — beta
beta
At a glance
- Who: Developers flagging state or counts inline (lists, headers, tables).
- What: Small status/count pills with semantic variants.
- Use when: For short labels next to the thing they describe.
- Avoid when: For long text or actions — use Text or Button instead.
- See also: Indicate status with a dot
Preview
@zedtech/zedkit-ui — Badge, badgeVariants, BadgeProps
beta
12 events
stable
Install
pnpm add @zedtech/zedkit-uiLatest: 0.3.0 (via changesets).
Example
import { Badge } from "@zedtech/zedkit-ui";
<Badge>live</Badge>
<Badge variant="outline">3 retries</Badge>Wraps: class-variance-authority