thumb_up_alt
Was this page helpful? Please submit feedbackopens in new window so we can improve.
Badges display static information about a specific item or within a table. They are visually prominent to draw attention and use color to convey meaning along with text labels.
Use badges to display numerical values, statuses, achievements, or other similar quantifying or qualifying information.
For selectable elements displaying keywords use tags. Avoid mixing badges and tags.
Types:
Variants:
.badge
is a general status and the default.badge--success
represents a positive status (available, completed, approved).badge--warning
represents a waiting or warning status (in progress, due soon).badge--critical
represents a problematic status (error, overdue, etc.)Badges are usually placed immediately after or above the specific item or label of what they’re quantifying or qualifying. If being used relative to the row of a table, badges should appear in their own column.
Use clear, concise, and accurate language in badge labels.
See example pen by U-M Library Design System (@umlibrary-designsystem) on CodePen.
Was this page helpful? Please submit feedbackopens in new window so we can improve.