Divider
Content blocksDivider
A horizontal rule that separates sections.
Options#
| Value | Type | Default | Description |
|---|---|---|---|
color | color | #bbbbbb | The line color. A design token such as token.primary also works. |
thickness | number (px) | 1 | How thick the line is. |
style | solid | dashed | dotted | solid | The line style. |
width | number (%) | 100 | How much of the row the line covers, from 10 to 100. |
align | left | center | right | center | Where a line narrower than the row sits. |
padding_top, padding_bottom | number (px) | 8 | Space above and below the line. |
json
{ "type": "divider", "values": { "color": "#d9dce5", "thickness": 1, "style": "dashed", "width": 60, "align": "center" } }