Divider

A divider serves as a visual separator between two elements

divider/styleImage

Resources

Intro & Anatomy

Dividers are used in lists and layouts to visually divide content, effectively separating and organising content into distinct groups. By grouping and dividing content in close proximity, dividers enhance the clarity of a layout. Additionally, they can establish rhythm and hierarchy within the overall design.

Dividers can be used horizontally and vertically.

 


 

Options & Styles

Variants

MDX offers 2 divider variants for different contexts:

default as a solid stroke
alternate as either a thicker stroke or dotted line

divider/variant1

 


 

Best Practice & Usage

Dividers should be used to create clear visual and semantic separation between content sections.

Use dividers to improve content organisation and readability whilst maintaining clean, structured layouts.

divider/usage/do
divider/usage/dont
dividers/mobile/do
dividers/mobile/dont

 


 

Theming

You can customise colours, border widths, margin and border-style to match your design requirements.

Dotted is the only border-style currently available.

For other styles, we recommend using custom code or SVG implementation.