Skip to content

Separator

A Separator is a visual element that divides content into distinct sections. Use Separators to group related information, define boundaries, and improve readability, making interfaces easier to scan and navigate.

Common alternative names:
Divider, line, border


Separator variants control how strong or subtle the divider appears.

Used to separate closely related items, such as list entries or form fields.


Used to separate larger groups of content, such as sections on a page.


A broken line for lighter, less prominent division.


A subtle dotted line for minimal visual interruption.


Label is centered within the divider.


Label appears at the start of the divider.


Label appears at the end of the divider.


Divides vertically stacked content (e.g., sidebars, columns).


PropertyTypeDescription
variantSeparatorVariantThe visual style of the separator.
orientationAxisThe directional layout of the separator.
labelString?Optional text label to display with the separator.
labelPositionLabelPositionPosition of the label along the separator.
colorColor?Custom color for the separator line.
thicknessdouble?Custom thickness for the separator line.
labelStyleTextStyle?Custom text style for the label.
dashPatternList<double>Pattern for dashed variant [dashLength, gapLength].
dotSpacingdoubleSpacing between dots for dotted variant.
dotRadiusdoubleRadius of dots for dotted variant.
paddingEdgeInsetsGeometry?Padding around the entire separator.