Trenner 1.2.0
Use .velin-divider for horizontal rules, with text labels, vertical orientation,
and colour/size variants. English: Divider
Reifegrad: Dokumentiert als stabil in VelinStyle 1.2.0. Design Intelligence (Plan / Review / Agent-Meta) ist separat und Beta / Grundlage wo entsprechend angegeben.
Wann verwenden
- Visual separation between content blocks with the documented divider pattern.
- When a subtle rule is enough and you do not need a full card or section chrome.
Wann nicht verwenden
- Semantic sectioning — prefer real headings and landmarks over dividers alone.
- Interactive split panes or drawers — use layout/overlay Komponenten instead.
Einfaches Beispiel
Inhalt oberhalb
Inhalt unterhalb
<hr class="velin-divider">
Mit Text
ODER
<div class="velin-divider velin-divider--text">OR</div>
Vertical
Links
Rechts
<span>Left</span>
<span class="velin-divider velin-divider--vertical"></span>
<span>Right</span>
Größen & Colours
<hr class="velin-divider velin-divider--sm">
<hr class="velin-divider velin-divider--lg">
<hr class="velin-divider velin-divider--thick velin-divider--primary">
Barrierefreiheit
- Use
<hr>for semantic separators — it carries an implicitrole="separator". - For decorative dividers, use
<div role="none">instead.
CSS-Variablen
| Variable | Beschreibung |
|---|---|
--velin-color-border | Standardlinienfarbe |
--velin-color-border-strong | Starke Variante |
--velin-color-primary | Primary-Variante |
--velin-space-3 | Kleiner Abstand |
--velin-space-6 | Standardabstand |
--velin-space-10 | Gro?er Abstand |