Skip to content

Loading indicator ​

Loading indicators show the progress of a process for a short wait time

Overview · Specs · Guidelines · Accessibility

Variants ​

2 elements of a loading indicator.

  1. Loading indicator
VariantM3M3 Expressive
Loading indicator--Available

Configurations ​

2 configurations of loading indicators.

  1. Default
  2. Contained
CategoryConfigurationM3M3 Expressive
ContainmentDefault--Available
ContainmentContained--Available

Tokens & specs ​

Loading indicators have a single token set.

Design tokens

Token table

Machine-readable relationship table

Loading indicator tokens · 1 token set · 8 tokens · live token table · DSDB TOKEN_TABLE.68895be451a51c31

  • Default context: Theme: Light · Platform: Android · Audience: 3P · Contrast: Default · iOS dark theme elevation: None · iOS weight setting: Default
  • Not configurable here (group default used): Motion scheme: Standard · Font: Static · Language height: Small
  • Other contexts: Theme: Dark · Contrast: Medium contrast, High contrast. "Other contexts" lists values that differ from the default when only that one context changes.
  • Reference chain: aliases from the token to its source value (token → alias → … → value). "—" means the token holds a literal value.

Loading indicator · md.comp.loading-indicator · 8 tokens

For loading indicators.

GroupTokenTypeReference chainResolved valueOther contexts
Colormd.comp.loading-indicator.container.color (deprecated)Colormd.sys.color.secondary-container → md.ref.palette.secondary90#E8DEF8Dark: #4A4458 via md.ref.palette.secondary30
Medium contrast: #625B71 via md.ref.palette.secondary40
High contrast: #4A4458 via md.ref.palette.secondary30
Colormd.comp.loading-indicator.contained.container.colorColormd.sys.color.primary-container → md.ref.palette.primary90#EADDFFDark: #4F378B via md.ref.palette.primary30
Medium contrast: #6750A4 via md.ref.palette.primary40
High contrast: #4F378B via md.ref.palette.primary30
Colormd.comp.loading-indicator.contained.active-indicator.colorColormd.sys.color.on-primary-container → md.ref.palette.primary30#4F378BDark: #EADDFF via md.ref.palette.primary90
Medium contrast: #FFFFFF via md.ref.palette.primary100
High contrast: #FFFFFF via md.ref.palette.primary100
Colormd.comp.loading-indicator.active-indicator.colorColormd.sys.color.primary → md.ref.palette.primary40#6750A4Dark: #D0BCFF via md.ref.palette.primary80
Medium contrast: #4F378B via md.ref.palette.primary30
High contrast: #381E72 via md.ref.palette.primary20
Sizemd.comp.loading-indicator.container.heightLength—48dp—
Sizemd.comp.loading-indicator.container.widthLength—48dp—
Sizemd.comp.loading-indicator.active-indicator.sizeLength—38dp—
Shapemd.comp.loading-indicator.container.shapeShapemd.sys.shape.corner.fullCircular (fully rounded)—

Anatomy ​

2 elements of a loading indicator.

  1. Active indicator
  2. Container

Color ​

Default ​

Color values are implemented through design tokens. For designers, this means working with color values that correspond with tokens; in implementation, a color value will be a token that references a value.

2 color roles of a loading progress indicator in light and dark themes.: the active indicator is primary and the container is secondary container.

Loading indicator color roles used for light and dark schemes:

  1. Primary

Contained ​

2 color roles of a loading progress indicator in light and dark themes. The active indicator is primary and the container is secondary container.

Contained loading indicator color roles used for light and dark schemes:

  1. On primary container
  2. Primary container

Measurements ​

Loading progress indicator measurements.

To ensure sufficient margins, the size is 48dp while the shape container is 38dp

Unofficial offline mirror. Content © Google, licensed under CC BY 4.0.