Separator
Visually or semantically separates content.
Horizontal
html
Veritheme
An open-source UI component library.
Docs
Source
Changelog
<div>
<h4 class="vt-label-md">Veritheme</h4>
<p class="vt-text-sm vt-text-foreground-muted">An open-source UI component library.</p>
</div>
<div class="vt-separator vt-separator-h"></div>
<div class="vt-flex vt-items-center vt-gap-4 vt-text-sm">
<span>Docs</span>
<span class="vt-text-foreground-muted">Source</span>
<span class="vt-text-foreground-muted">Changelog</span>
</div>
Vertical
html
Blog
Docs
Source
Contact
<div class="vt-flex vt-items-center vt-gap-4 vt-h-5">
<span class="vt-text-sm vt-font-medium">Blog</span>
<div class="vt-separator vt-separator-v"></div>
<span class="vt-text-sm vt-font-medium">Docs</span>
<div class="vt-separator vt-separator-v"></div>
<span class="vt-text-sm vt-font-medium">Source</span>
<div class="vt-separator vt-separator-v"></div>
<span class="vt-text-sm vt-font-medium">Contact</span>
</div>
With Label
vt-separator-label puts a caption in the line: “or” between sign-in providers and a form, a section name. Without the first line the caption starts the row.
html
Or continue with
Settings
Account
<div class="vt-separator-label">
<div class="vt-separator vt-separator-h"></div>
<span>Or continue with</span>
<div class="vt-separator vt-separator-h"></div>
</div>
<div class="vt-separator-label">
<div class="vt-separator vt-separator-h"></div>
<span>Settings</span>
<div class="vt-separator vt-separator-h"></div>
</div>
<div class="vt-separator-label">
<span>Account</span>
<div class="vt-separator vt-separator-h"></div>
</div>
In Context
Real-world usage in a settings card.
html
My Account
Manage your account settings.
Name
John Doe
Email
john@example.com
Plan
Pro
<div class="vt-space-y-1 vt-mb-4">
<h3 class="vt-label-lg">My Account</h3>
<p class="vt-text-sm vt-text-foreground-muted">Manage your account settings.</p>
</div>
<div class="vt-separator vt-separator-h vt-my-4"></div>
<div class="vt-space-y-3">
<div class="vt-flex vt-justify-between vt-items-center">
<span class="vt-text-sm">Name</span>
<span class="vt-text-sm vt-text-foreground-muted">John Doe</span>
</div>
<div class="vt-separator vt-separator-h"></div>
<div class="vt-flex vt-justify-between vt-items-center">
<span class="vt-text-sm">Email</span>
<span class="vt-text-sm vt-text-foreground-muted">john@example.com</span>
</div>
<div class="vt-separator vt-separator-h"></div>
<div class="vt-flex vt-justify-between vt-items-center">
<span class="vt-text-sm">Plan</span>
<div class="vt-badge">
Pro
</div>
</div>
</div>
Guidelines
Veritheme
An open-source UI component library.
Docs
Source
Do
Name
Email
Phone
Address
Don't
API Reference
| Class | Type | Description |
|---|---|---|
vt-separator |
Base | Horizontal separator — full-width border line |
vt-separator-v |
Variant | Vertical separator for inline content |
vt-separator-label |
Variant | A caption in a horizontal line: vt-separator-h — text — vt-separator-h, 12px apart, Caption, muted; drop the first line to start with the caption. vt-auth-divider is the older name |
vt-my-4 |
Modifier | Vertical margin to control spacing around the separator |
Accessibility
| Feature | Details |
|---|---|
| Role | Use hr element or role="separator" for semantic dividers |
| Orientation | Vertical separators should have aria-orientation="vertical" |
| Decorative | Purely visual separators can use role="none" to hide from screen readers |
Used in: