Skip to content

Divider

A standalone directive on a native hr element, with typed orientation and optional decorative semantics.

Design

Functional preview

Running with the native Angular component and HTML hr nativo.

Loading functional preview…

Toolbar · Angular

A decorative vertical separator rendered by the Angular directive between native Buttons.

Loading functional preview…

Anatomy


1 2 3
1 Separator element (.ds-divider) — use <hr> for semantic separation; mark it as decorative when it is only visual.
2 Orientation — horizontal by default; vertical with .ds-divider--vertical.
3 Border token — uses semantic divider/border color, not hardcoded color.

Horizontal divider

The default divider spans the full width of its container and adds vertical separation between content.

Content above the divider


Content below the divider

In a list

Dividers between list items create visual grouping.

Notifications

Manage your notification preferences


Privacy

Control who can see your profile


Security

Two-factor authentication and password

Vertical divider

Use ds-divider--vertical inside a flex container to separate items horizontally.

Left
Center
Right

In a toolbar

Vertical dividers separate groups of actions in a toolbar.


Token mapping

PropertyTokenCSS variable
line colorcomponent.divider.line.color.default--ds-divider-line-color-default
line thicknesscomponent.divider.line.thickness.default--ds-divider-line-thickness-default
line radiuscomponent.divider.line.radius.default--ds-divider-line-radius-default