Skip to content
Components
/
Divider
Dark

Divider

Divider separates content into groups with a single line.

Preview

A visual separator, the smallest component in the system. One colour, one weight, three shapes. On iOS this is Divider; on Android HorizontalDivider and VerticalDivider.

Divider, Style Horizontal
342 x 4, a 1px line with 2 above and below

The frame measures 4 and the line measures 1: in Figma the line is a LINE of height 0 with the stroke drawn outside it, and 2 of padding sits above and below.

Style

Three shapes on one axis. Horizontal rules off a block, With Label carries a word between two options, Vertical splits items sitting on one line.

Style Horizontal, With Label, Vertical
342 x 4, 342 x 16, 1 x 24
or

With Label splits the 342 into 153, the label, 153, with 12 of gap on each side. The label is the only part that is not the line colour: it takes text/soft-500 where the line takes border/soft-100.

In use

Each style exists for one job. Seen on its own a divider is a grey line; seen in place it is the reason two things read as separate.

Horizontal between rows, With Label between actions, Vertical in a meta line
the blocks around them are stand-ins, not Button
Notifications
Privacy
Storage
Continue
or
Create account
12 minEasy4 servings

The component's own description names a fourth style, Inset, for a list with a leading avatar. The set does not ship it, and it calls the first style Horizontal where the description calls it Full Width.

Properties

One axis and one text field. Nothing else is exposed, and nothing else needs to be.

Property
Type
Default
Style
Horizontal | With Label | Vertical
Horizontal
Text
Text, With Label only
or
Style
Size
Built from
Horizontal
342 x 4
2 of padding, a 0 tall line, 2 of padding
With Label
342 x 16
153, gap 12, the label, gap 12, 153
Vertical
1 x 24
the same line, rotated, length 24

The width is fixed at 342 on both horizontal styles, which is a 390 screen less 24 of side margin on each edge. Set it to fill in your own layout; nothing in the component depends on the number.

Tokens

Two values for the whole component. There is no second colour, no weight scale and no emphasis variant.

Token
Light
Dark
Applied to
border/soft-100
#E9E9EA
#2F2F31
Every line, all three styles
text/soft-500
#8E8E93
#AEAEB2
The label on With Label

The label runs on typography/fontSize/xs 12, typography/lineHeight/xs 16 and typography/letterSpacing/wide .1 at the default weight. Geometry runs on dimensions/spacing/0-5 2, dimensions/spacing/3 12 and dimensions/spacing/6 24.

Guidelines

Do
Notifications
Privacy

Use it where spacing alone stops doing the work: rows of the same weight, or two options that need a word between them.

Don't
Notifications
Privacy

Do not rule off every element. A divider after each row, plus one under the last, turns a list into a table nobody asked for.

A section that already sits on its own card does not need a divider above it. The card edge is the separation.