On this page:

Badge

Note

A component used to communicate status, count, or category with compact visual emphasis.

Design checklist

StatusItemDescription
✔️AnatomyIncludes descriptions of all parts of the component and its major variants.
N/AStatesIncludes all applicable interaction, display and value states.
✔️OptionsIncludes all relevant options (functional type, stylistic kind, semantic color, size, orientation, optional iconography, decorations, etc.)
✔️Color schemesIncludes both light and dark color schemes.
✔️BehaviorsIncludes descriptions of behaviors related to other components and responsive behaviors related to media breakpoints, size (minimums and maximums), orientation, alignment, position and layout (wrapping, truncation, overflow).
Accessibility: Keyboard interactionsIncludes descriptions of all keyboard interactions, focus indication and navigation order.
Accessibility: Text contrastText meets a contrast ratio of at least 4.5:1 for small text and 3:1 for large text (WCAG 2.0 1.4.3) and/or a lightness contrast value of at least Lc 75 for standard text and Lc 60 for large text (APCA).
Accessibility: UI component contrastVisual information required to identify states and boundaries of active UI components has a contrast ratio against adjacent colors of at least 3:1 (WCAG 2.1 1.4.11) and/or a lightness contrast value of at least Lc 60 (APCA).
Usage guidelinesIncludes a list of recommended and discouraged usages.
Content guidelinesIncludes content standards and guidelines for how to write or format in-product content for the component.
InternationalizationIncludes support for various locales and bi-directionality (RTL).
Design tokensAll design attributes (color, typography, layout, animation, etc.) are available as design tokens.

Anatomy

anatomy-dot

States

This component does not have states.

Options

Kind
kind
Color
color
color2
Size
sizeSmall
sizeMedium
sizeLarge
Icon
icon
Dot
dot

Behaviors

Minimum width
minWidth
Text overflow
overflow