Skip to content
Display

Badge

A small inline label for status, categories, or counts. Use alongside cards, list items, and table cells.

LlmBadge
WCAG AA0 deps

Demo

Live PreviewReact
DefaultActivePendingErrorInfoSmall
html
<llm-badge>Default</llm-badge>
<llm-badge variant="success">Active</llm-badge>
<llm-badge variant="warning">Pending</llm-badge>
<llm-badge variant="danger">Error</llm-badge>
<llm-badge variant="info">Info</llm-badge>
<llm-badge size="sm" variant="success">Small</llm-badge>

API (Angular)

PropTypeDefaultDescription
variant'default' | 'success' | 'warning' | 'danger' | 'info''default'Color scheme of the badge
size'sm' | 'md''md'Size of the badge

Import

ts
import { LlmBadge } from '@atelier-ui/angular';