Badge

Small count indicator or status marker.

Badge

Outlined

Badge

Dark

Badge

Dynamic (counter, status update)

Use aria-live="polite" so that content changes are announced without interrupting the current task.

Add aria-label to clarify what the number represents.

5

Interactive (filter button, toggle)

Assign an explicit role (e.g., "button"), ensure keyboard interaction (tabindex via CSS), and use aria-disabled when the action is unavailable.

Active

Icon-only

Always provide aria-label so that assistive technology can announce the meaning.

Accessibility checklist

  • Static badges: no ARIA needed, just text.
  • Dynamic badges: use aria-live="polite" + aria-label.
  • Icon-only badges: always provide an aria-label.
  • Decorative icons: aria-hidden="true".
  • Do not set aria-disabled on non-interactive badges.
  • Keep the DOM clean – avoid empty aria-* attributes.

Usage

Just copy-paste the HTML or Figma code into your project.