Status Badges
A basic badge wrapper for labels, statuses, and compact metadata.
Interactive preview · desktop · dark
Installation
Installation is available on the Startup and Business plans. Your personal install command appears here once you have access.
Usage
Import it, pass your props, and make it part of your product.
example.tsx
import { BadgeBasic } from '@/components/component-kit/items/badge-basic';
export function Example() { return ( <BadgeBasic tone="success">Published</BadgeBasic> );}Props
| Prop | Type | Default | Description |
|---|---|---|---|
tone | BadgeBasicTone | default | Default, secondary, outline, success or destructive. |
showIcon | boolean | varies | Display the matching status icon. |