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
div string -
dashed string -
md string -
string -
h2 string -
center string -
true boolean -
false boolean -

CSS API

Variable Default Type Values Description
var(--color--surface) color - Surface
var(--border-width) range - Size
var(--border-radius) range - Border Radius
var(--space) range - Base spacing unit. Used for padding and margin inside components.
var(--corner-shape) select square, round, squircle, circular, bevel, scoop Corner Shape
var(--font-size-300) range - Two steps above base in the type scale. Equivalent to h5.

Similar components