Separator
Primitivesatlas-separatorExamples
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.
Docs Source Storybook
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 .
API
Generated from the library source, so it always matches the code.
AtlasSeparatorComponent atlas-separator
| Input | Type | Default | Description |
|---|---|---|---|
| orientation | 'horizontal' | 'vertical' | 'horizontal' | horizontal spans the width; vertical spans the height of its container, which needs one. |
| decorative | unknown | false | role="none" so screen readers skip it. |
| class | string | '' | cn() ; yours win on conflicts. |