Visual separator — line, thick separator, or dashed. Horizontal or vertical.
{
"type": "divider",
"data": {
"ui": {
"layout": {
"size": {
"width": "fill"
}
}
}
}
}{
"type": "divider",
"data": {}
}| Field | Type | Default | Description |
|---|---|---|---|
divider_type | enum lineseparatordash | line | Divider thickness style |
direction | enum horizontalvertical | horizontal | Orientation |
| Field | Type | Default | Description |
|---|---|---|---|
color | color | — | Divider color (default neutral.200) |
{
"type": "divider",
"data": {
"divider_type": "separator",
"ui": {
"layout": {
"size": {
"width": "fill"
}
}
}
}
}{
"type": "divider",
"data": {
"divider_type": "dash",
"ui": {
"layout": {
"size": {
"width": "fill"
}
}
}
}
}{
"type": "row",
"data": {
"children": [
{
"type": "text",
"data": {
"value": "Left",
"ui": {
"style": {
"typography": {
"style": "body2Regular"
}
}
}
}
},
{
"type": "divider",
"data": {
"direction": "vertical",
"ui": {
"layout": {
"size": {
"height": 24
}
}
}
}
},
{
"type": "text",
"data": {
"value": "Right",
"ui": {
"style": {
"typography": {
"style": "body2Regular"
}
}
}
}
}
],
"ui": {
"layout": {
"spacing": 12,
"crossAxis": "center"
}
}
}
}{
"type": "divider",
"data": {
"ui": {
"style": {
"color": {
"palette": "primary",
"shade": 300
}
},
"layout": {
"size": {
"width": "fill"
}
}
}
}
}