Badge component that displays a small, compact status indicator
The Badge component supports two shapes:
// Pill badge with text only<Badge shape="pill" variant="success" text="Active" /> Copy
// Pill badge with text only<Badge shape="pill" variant="success" text="Active" />
// Pill badge with text and icon<Badge shape="pill" variant="warning" text="Pending" icon={{ name: 'clock' }} /> Copy
// Pill badge with text and icon<Badge shape="pill" variant="warning" text="Pending" icon={{ name: 'clock' }} />
// Circle badge with icon<Badge shape="circle" variant="danger" icon={{ name: 'alert' }} /> Copy
// Circle badge with icon<Badge shape="circle" variant="danger" icon={{ name: 'alert' }} />
Description
Badge component that displays a small, compact status indicator
The Badge component supports two shapes:
Component
Example
Example
Example