RRigdesign system
Data display

Badge

A compact signal for status, category or a count. Glass gradient fill with an adaptive stroke.

Examples

Filled · the text is the status, colour only reinforces it
PrimarySecondaryNeutralErrorWarningSuccessInfo
Outlined
PrimarySecondaryNeutralErrorWarningSuccessInfo
Sizes
LargeMediumSmall
Count badge with an accessible name

Anatomy

Badge anatomy
#PartDescriptionPresence
1ContainerPill 9999px or tag 6pxRequired
2DotOptional status dotOptional
3LabelManrope 13 / 11 / 10pxRequired

Specifications

Permutations42 = 7 colourways × 2 styles × 3 sizes
ColourwaysPrimary · Secondary · Neutral · Error · Warning · Success · Info
StylesFilled · Outlined
TypeManrope 13px (Large) · 11px (Medium) · 10px (Small)
RadiusPill 9999px or Tag 6px
StrokebadgeStrokeGradient, 1.5px

Interaction

Keyboard
KeyResult
NoneNot interactive. If it is, use Chip or Button.
Pointer and touch
TriggerResponse
NoneStatic

Accessibility

role · static text

1.4.1Use of Colour1.4.3Contrast (Minimum)4.1.3Status Messages
Requirements
RequirementHow Rig meets it
MeaningThe text states the status. Colour only reinforces it (WCAG 1.4.1).
CountGive counts a name: aria-label="12 unread"
Contrast10px text at 4.5:1 on the fill; outlined variants use lighter text tokens on dark and darker on light
DynamicWrap changing badges in a polite live region

Usage

Do and don’t
DoDon’t
Use one or two wordsDo not make badges clickable
Pair status with an icon in dense tablesDo not rely on colour to tell Error from Success

Notes from the Figma file

  • Outlined badges keep a high-chroma outline so they stay readable at low vibrancy.