Skip to main content
VelinStyle v1.3.0
⌂ Home
  1. Docs
  2. Components
  3. Misc
  4. Divider

Divider 1.2.2

Use .velin-divider for horizontal rules, with text labels, vertical orientation, and colour/size variants. Deutsch: Trenner

Maturity: Documented as stable in VelinStyle 1.2.0. Design Intelligence (plan / review / agent meta) is separate and beta / foundation where noted.

When to use

When not

Basic Example

Content above


Content below

<hr class="velin-divider">

With Text

OR
<div class="velin-divider velin-divider--text">OR</div>

Vertical

Left Right
<span>Left</span>
<span class="velin-divider velin-divider--vertical"></span>
<span>Right</span>

Sizes & 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">

Accessibility

CSS Variables

VariableDescription
--velin-color-borderDefault line colour
--velin-color-border-strongStrong variant
--velin-color-primaryPrimary variant
--velin-space-3Small spacing
--velin-space-6Default spacing
--velin-space-10Large spacing