Slug
Carbon's content-summary chip. A short metadata tag shown alongside a primary entity (table row, list item, button) — typically a status count, version, or short identifier. Distinct from Tag (Tag is a categorical label) and Badge (Badge is a status pill).
primitives-slug--defaultOpen all variants →
When to use
- Short metadata next to a primary entity: row counts, version markers, short identifiers, latency / accuracy stats.
- AI-generated summaries paired with `AILabel` (
variant="ai"). - Monospace numeric / identifier presentation (tabular-nums by default).
When not to use
- Categorical labels / filters → use `Tag`.
- Status pills (success / error / warning) → use `Badge`.
- Code blocks / commands → use `CodeSnippet`.