Separator

A native thematic break or a labeled vertical rule without an extra wrapper.

A native horizontal rule separates two related sections.

Open in new tab

Each preview is its own Live page in a frame, because this site is a Vue 3.5 app built on the Pulsar starter kit. An open list or popover stays inside its frame; in your application it opens over the page.

Installation

bash
suprnova live:add separator

Usage

html
{% import "suprnova-ui/separator/separator.html" as separator %}
{% call separator::separator() %}{% endcall %}

Examples

Vertical rule

A labeled vertical separator divides adjacent pieces of metadata.

Open in new tab

Keyboard and accessibility

suprnova.separator - a thematic break or a vertical rule (DATA-001). A horizontal separator is the native hr; a vertical one is a labeled separator role. Neither adds a wrapper.

API reference

separator

ParameterDefaultDescription
orientation"horizontal"The rule orientation: horizontal renders hr; vertical renders a separator role.
label""An optional accessible label naming the break.