Divider

Dividers are thin lines that group content in lists or other containers.

Usage

Divider renders a thin line that separates content in lists or other containers. Import Divider from @udixio/ui-react or @udixio/ui-angular.

Orientation

Use orientation to switch between a full-width horizontal line (default) and a vertical line that stretches to fill its container’s height.

Section A


Section B


Section C

Spacing and sizing

Divider has no built-in margin or length; control spacing and size with your own utility classes – className in React, classes in Angular, where className is a React DOM property name rather than a shared concept.

Tight spacing


Wide spacing


Left
Right

Accessibility

Divider renders a native <hr>, which carries the implicit separator role without any extra ARIA. Because the default aria-orientation for that role is horizontal, the component sets aria-orientation="vertical" whenever orientation="vertical", so assistive technology matches the visible layout.

Divider is purely decorative in this component set: there is no decorative/aria-hidden escape hatch, so every instance is announced as a separator to assistive technology.