Divider

Content blocks

Divider

A horizontal rule that separates sections.

Options#

ValueTypeDefaultDescription
colorcolor#bbbbbbThe line color. A design token such as token.primary also works.
thicknessnumber (px)1How thick the line is.
stylesolid | dashed | dottedsolidThe line style.
widthnumber (%)100How much of the row the line covers, from 10 to 100.
alignleft | center | rightcenterWhere a line narrower than the row sits.
padding_top, padding_bottomnumber (px)8Space above and below the line.
json
{ "type": "divider", "values": { "color": "#d9dce5", "thickness": 1, "style": "dashed", "width": 60, "align": "center" } }