Badges are small, visual indicators used to provide brief supporting information at a glance about an element’s status or number count. Badge itself is not interactive. Also known as: Ribbon, tag, flag
On this page
This demo lets you preview the Badge component, its variations, and configuration options.
For examples of all variants, please visit Storybook.
There are five badges.
Text badge includes an optional icon and text label. Text badge can be contained within a component or layout to give user additional feature context, for example, a status.
Marketing badges are for marketing messages and insights. Marketing badge consists of a ribbon with a text label, and optional icon. The badge offers three different shapes depending on location on the card or UI usage.
Use secondary for the less important or alternative action on a page. Secondary buttons are styled to be minimal and less noticeable, ensuring they do not distract from more important actions on the page.
Dot badge is used to indicate that something is actionable, without telling user the exact number of the actionable items.
Status badge consists of a colored dot and text label. When there are two or more, both colors and text label are required to differentiate. When only one status badge is used, label is optional.
Connect with the DLS Team on Slack or by email.
Check out additional resources.