Skip to main content Home
About About the Design SystemRoadmap
Get started OverviewDesignersDevelopers
Foundations OverviewColorGridIconographyInteractionsSpacingTypography
Tokens Overview Global colorbox shadowTypographyborderopacityspacelengthIconBreakpointsMedia Queries
Elements All elements Accordion Alert Announcement Audio player Avatar Back to top Badge Blockquote Breadcrumb Button Card Chip Code block Call to action Dialog Disclosure Footer Health index Icon Jump links Navigation (primary) Navigation (secondary) Pagination PopoverPlanned Progress stepsPlanned Site status Skip link Spinner Statistic Subnavigation Surface Switch Table Tabs Tag Tile Timestamp Tooltip Video embed
Theming OverviewColor PalettesCustomizingDevelopers
Patterns All PatternsCardTabsFilterFormLink with iconLogo wallSearch barSticky bannerSticky cardTile
Personalization All Personalization PatternsAnnouncement
Accessibility FundamentalsAccessibility toolsAssistive technologiesCI/CDContentContributorsDesignDevelopmentManual testingResourcesScreen readers
Design/code status Release notes Get support

Badge

OverviewStyleGuidelinesCodeAccessibilityDemos
StyleColor schemeConfigurationSpace and widthInteraction statesStyleColor schemeConfigurationSpace and widthInteraction states

Style

A badge is number text on a pill background used to reflect the count of something.

Anatomy

Anatomy of a badge with annotations; number 1 is pointing to the container and number 2 is pointing to the counter number
  1. Container
  2. Counter number

Color scheme

Badge is available for light and dark color schemes.

Light theme

Light theme badges

Dark theme

Dark theme badges

Configuration

All badges have the same height and border radius.

How a badge is constructed showing border radius and height details

Space and width

Badge spacing and minimum width

Property Current value
Minimum width --rh-length-2xl

Interaction states

A badge contains only text and is not interactive.

© 2021-2025 Red Hat, Inc. Deploys by Netlify