Skip to content

Divider ​

A divider is a thin line that groups content in lists and containers.

Overview · Specs · Guidelines · Accessibility

Diagram of divider set on horizontal line

  1. Divider

Tokens and specs ​

Browse the component elements, attributes, tokens, and their values.

Design tokens

Token table

Machine-readable relationship table

Divider tokens · 1 token set · 2 tokens · live token table · DSDB TOKEN_TABLE.77f7657eb270e53d

  • 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.

Divider · md.comp.divider · 2 tokens

For dividers.

GroupTokenTypeReference chainResolved valueOther contexts
Enabled › Containermd.comp.divider.thicknessLength—1dp—
Enabled › Containermd.comp.divider.colorColormd.sys.color.outline-variant → md.ref.palette.neutral-variant80#CAC4D0Dark: #49454F via md.ref.palette.neutral-variant30
Medium contrast: #79747E via md.ref.palette.neutral-variant50
High contrast: #49454F via md.ref.palette.neutral-variant30

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

Divider on light background and dark background.

Divider color roles used for light and dark schemes:

  1. Outline variant

Measurements ​

Divider's measurement.

Measurements

AttributeValue
Divider full-width100%
Divider inset left margin16dp
Divider inset right margin0dp
Divider middle-inset left margin16dp
Divider middle-inset right margin16dp
Space between divider & supporting-text4dp
Divider right margin8dp
Divider bottom margin8dp

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