Skip to content

Badge

Describe states and metadata with text labels.

Usage

Information Published Beta Active Pending Review
meeko
<UIBadge>Information</UIBadge>
<UIBadge tone="accent">Published</UIBadge>
<UIBadge tone="danger">Review</UIBadge>
Props
Name Type / default Description
tone neutral | accent | info | success | warning | danger neutral Visual treatment of the label.
dot boolean false Adds a decorative dot in the color of the tone.
class string Additional classes.

Content and accessibility

The default snippet is required. Badge renders as a span: it adds no interaction, roles or announcements. Use text that explains the state; color must not be its only meaning.

Was this page helpful?

Add a comment

It is sent when you choose “Yes” or “No”. Only the page, your answer and the comment are stored: no cookies and no personal data.

0 of 2000 characters