Skip to content

Separator

Primitives

A visual line for separating content. Supports horizontal and vertical orientation.

atlas-separator

Examples

Horizontal and vertical

A separator divides content. Use orientation="vertical" between inline items and give it a height.

Atlas components

Signals-first UI for Angular.

DocsSourceStorybook

Decorative

When the line only separates visually and the structure already tells the story (a list of stats, a card), set decorative : it gets role="none" and screen readers skip it.

Projects
12
Members
48
Uptime
99.9%

Divider with text

Two decorative separators around a short text make a labelled divider; the text itself carries the meaning, so the lines stay decorative .

or continue with

API

Generated from the library source, so it always matches the code.

AtlasSeparatorComponent atlas-separator

InputTypeDefaultDescription
orientation 'horizontal' | 'vertical''horizontal'horizontal spans the width; vertical spans the height of its container, which needs one.
decorative unknownfalse Purely visual line: role="none" so screen readers skip it.
class string'' Extra CSS classes, merged with the component's own through cn() ; yours win on conflicts.