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 Description
div The tag to use for this component.
dashed Either dashed, solid or dotted.
md The length of the divider. Either sm, md or lg.
Title to be displayed in the divider.
h2 -
center Alignment of text in the divider. left, center or right.
true If set to true, the title will be wrapped in a frame.
false Enable if font color should be customized. Default: false

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

Similar components