Badges: Specs
Badges show notifications, counts, or status information on navigation items and icons

Navigation bar
- Small badge
- Large badge container
- Large badge label
- Large badge maximum character count container
- Large badge maximum character count label

Navigation rail
- Small badge
- Large badge container
- Large badge label
- Large badge maximum character count container
- Large badge maximum character count label
Tokens & specs
Browse the component elements, attributes, tokens, and their values.
Color
Color values are implemented through design tokens. For design, this means working with color values that correspond with tokens. For implementation, a color value will be a token that references a value. Learn more about design tokens

Badge color roles used for light and dark schemes in navigation bar:
- Error
- Error
- On error
- On error
- Error

Badge color roles used for light and dark schemes in navigation rail:
- Error
- On error
- Error
- On error
- Error
Measurements

| Attribute | Value |
|---|---|
| Small badge shape | 3dp corner radius |
| Small badge size (HxW) | 6dp |
| Large badge shape | 8dp corner radius |
| Large badge one digit size (HxW) | 16dp |
| Large badge max character count size (HxW) | 16x34dp |
| Small badge: distance from top trailing icon corner to bottom leading badge corner (HxW) | 6x6dp |
| Large badge: distance from top trailing icon corner to bottom leading badge corner (HxW) | 14x12dp |
| Large badge padding between badge and text container | 4dp |
Configuration
Different badges are shown on navigation destinations in various states.

- Inactive with label - small badge
- Inactive with label - large badge
- Inactive with label - large badge max character count
- Inactive - small badge
- Inactive - large badge
- Inactive - large badge max character count
- Active with label - small badge
- Active with label - large badge
- Active with label - large badge max character count
- Active nav bar no label - small badge
- Active nav bar no label - large badge
- Active nav bar no label - large badge max character count
- Active nav rail no label - small badge
- Active nav rail no label - large badge
- Active nav rail no label - large badge max character count