Divider
The Divider component provides a reusable pattern for divider in the interface.
Size
sm
md
lg
full
Style
dashed
dotted
solid
Title
Title
Title with Frame
Title
Title
Title
API
| Parameter | Default | Type | Description |
|---|---|---|---|
|
componentElement
|
div | string | - |
|
style
|
dashed | string | - |
|
size
|
md | string | - |
|
title
|
string | - | |
|
titleVariant
|
h2 | string | - |
|
align
|
center | string | - |
|
frame
|
true | boolean | - |
|
customFont
|
false | boolean | - |
CSS API
| Variable | Default | Type | Values | Description |
|---|---|---|---|---|
|
--c-divider--color--surface
|
var(--color--surface) | color | - | Surface |
|
--c-divider--border-width
|
var(--border-width) | range | - | Size |
|
--c-divider--border-radius
|
var(--border-radius) | range | - | Border Radius |
|
--c-divider--space
|
var(--space) | range | - | Base spacing unit. Used for padding and margin inside components. |
|
--c-divider--corner-shape
|
var(--corner-shape) | select | square, round, squircle, circular, bevel, scoop | Corner Shape |
|
--c-divider--font-size-300
|
var(--font-size-300) | range | - | Two steps above base in the type scale. Equivalent to h5. |