Skip to content

Separator

A horizontal or vertical line that separates content within a list or section.

Separators help users visually distinguish between related groups of information, making interfaces easier to scan and understand while maintaining a clean, organized layout.

  • Customizable: Multiple variants, orientations, sizes, and label options
  • Responsive: Works with both horizontal and vertical layouts
  • Accessible: Provides visual distinction without disrupting screen readers

Separator variants control how strong or subtle the divider appears.

A continuous line for a clean, standard separation.


A broken line for lighter, less prominent division.


A dotted line for minimal visual interruption.


Default orientation; divides horizontally stacked content (e.g., lists, sections or items).


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


Label appears centered within the divider.


Label aligned to the start (left in LTR, right in RTL) of the divider.


Label aligned to the end (right in LTR, left in RTL) of the divider.


Standard width for most layouts.


Expanded width for wider areas or content-heavy sections.



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.
sizeSeparatorSizeSize category affecting the width/height of 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.