Layout / Divider

Layout

Divider

A hairline between two runs of content on one surface, optionally naming the run below it.

import { EcoDivider } from "vue-ecosphere"

Rule

An hr in the border colour, a card gap above and below.

Fees are billed per term.


Late fees apply after the 10th.

Labelled

The label names the fields that follow, so the rule sits a section gap below what came before and a card gap above what it heads.

Centred

For a short word between two alternatives.

EcoDivider

NameTypeDefaultDescription
labelstring—Text on the rule (divider__t), in small caps; the default slot overrides it. Without either, a plain <hr>.
align"start" | "center""start"Label at the start of the rule (section labels) or centred on it (an Or between two routes).
firstbooleanfalseFirst thing in its container: drops the top margin (divider--first).