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

- Container
- Counter number
Theme
A badge is available in the light theme only.

Configuration
All badges have the same height and border radius.

Space and width

Example | Token | Description |
---|---|---|
8 | --rh-space-md | 8px spacer |
Property | Current value |
---|---|
Minimum width | 32px 2.0rem |
Interaction states
A badge contains only text and is not interactive.
Other libraries
To learn more about our other libraries, visit this page.
Feedback
To give feedback about anything on this page, contact us.