Link
Styled anchor elements for inline text links, navigation, and external references.
Default
Standard link styles with color and underline variants.
html
<a href="#" class="vt-link">Default link</a>
<a href="#" class="vt-link vt-link-muted">Muted link</a>
With Icons
html
<div class="vt-flex vt-flex-wrap vt-items-center vt-gap-6">
<a href="#" class="vt-link vt-inline-flex vt-items-center vt-gap-1">
External link <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" class="vt-w-3.5 vt-h-3.5" aria-hidden="true">
<path d="M15 3H18C19.4142 3 20.1213 3 20.5607 3.43934C21 3.87868 21 4.58579 21 6V9M20 4L11 13" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M20 13C20 16.7712 20 18.6569 18.8284 19.8284C17.6569 21 15.7712 21 12 21H11C7.22876 21 5.34315 21 4.17157 19.8284C3 18.6569 3 16.7712 3 13V12C3 8.22876 3 6.34315 4.17157 5.17157C5.34315 4 7.22876 4 11 4" stroke="currentColor" stroke-linecap="round" stroke-width="1.5"></path>
</svg>
</a>
<a href="#" class="vt-link vt-inline-flex vt-items-center vt-gap-1">
Learn more <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" class="vt-w-3.5 vt-h-3.5" aria-hidden="true">
<path d="M9.00005 6C9.00005 6 15 10.4189 15 12C15 13.5812 9 18 9 18" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg>
</a>
<a href="#" class="vt-link vt-inline-flex vt-items-center vt-gap-1">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" class="vt-w-3.5 vt-h-3.5" aria-hidden="true">
<path d="M8 18H16" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M8 14H16" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M8 10H10" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M13 2.5V3C13 5.82843 13 7.24264 13.8787 8.12132C14.7574 9 16.1716 9 19 9H19.5M20 10.6569V14C20 17.7712 20 19.6569 18.8284 20.8284C17.6569 22 15.7712 22 12 22C8.22876 22 6.34315 22 5.17157 20.8284C4 19.6569 4 17.7712 4 14V9.45584C4 6.21082 4 4.58831 4.88607 3.48933C5.06508 3.26731 5.26731 3.06508 5.48933 2.88607C6.58831 2 8.21082 2 11.4558 2C12.1614 2 12.5141 2 12.8372 2.11401C12.9044 2.13772 12.9702 2.165 13.0345 2.19575C13.3436 2.34355 13.593 2.593 14.0919 3.09188L18.8284 7.82843C19.4065 8.40649 19.6955 8.69552 19.8478 9.06306C20 9.4306 20 9.83935 20 10.6569Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg> View document
</a>
<a href="#" class="vt-link vt-inline-flex vt-items-center vt-gap-1">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" class="vt-w-3.5 vt-h-3.5" aria-hidden="true">
<path d="M2.99969 17.0002C2.99969 17.9302 2.99969 18.3952 3.10192 18.7767C3.37932 19.8119 4.18796 20.6206 5.22324 20.898C5.60474 21.0002 6.06972 21.0002 6.99969 21.0002L16.9997 21.0002C17.9297 21.0002 18.3947 21.0002 18.7762 20.898C19.8114 20.6206 20.6201 19.8119 20.8975 18.7767C20.9997 18.3952 20.9997 17.9302 20.9997 17.0002" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M16.4998 11.5002C16.4998 11.5002 13.1856 16.0002 11.9997 16.0002C10.8139 16.0002 7.49976 11.5002 7.49976 11.5002M11.9997 15.0002V3.00016" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg> Download file
</a>
</div>
Inline
Links within text content.
html
Welcome to Veritheme. Read our documentation for more details on how to get started with the component library.
By signing up, you agree to our Terms of Service and Privacy Policy.
This project is maintained by the Veritheme team. Contributions are welcome on GitHub .
<div class="vt-max-w-lg vt-space-y-4">
<p class="vt-body-sm vt-text-foreground-secondary">
Welcome to Veritheme. Read our <a href="#" class="vt-link">documentation</a> for more details on how to get started with the component library.
</p>
<p class="vt-body-sm vt-text-foreground-secondary">
By signing up, you agree to our <a href="#" class="vt-link">Terms of Service</a> and <a href="#" class="vt-link">Privacy Policy</a>.
</p>
<p class="vt-body-sm vt-text-foreground-secondary">
This project is maintained by the <a href="#" class="vt-link vt-link-muted">Veritheme team</a>. Contributions are welcome on <a href="#" class="vt-link vt-link-muted vt-inline-flex vt-items-center vt-gap-0.5">GitHub <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" class="vt-w-3 vt-h-3" aria-hidden="true">
<path d="M15 3H18C19.4142 3 20.1213 3 20.5607 3.43934C21 3.87868 21 4.58579 21 6V9M20 4L11 13" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M20 13C20 16.7712 20 18.6569 18.8284 19.8284C17.6569 21 15.7712 21 12 21H11C7.22876 21 5.34315 21 4.17157 19.8284C3 18.6569 3 16.7712 3 13V12C3 8.22876 3 6.34315 4.17157 5.17157C5.34315 4 7.22876 4 11 4" stroke="currentColor" stroke-linecap="round" stroke-width="1.5"></path>
</svg></a>.
</p>
</div>
Navigation Links
Vertical and horizontal link lists for navigation.
html
Vertical
Horizontal
<div>
<p class="vt-section-label vt-mb-3">Vertical</p>
<nav class="vt-flex vt-flex-col vt-gap-0.5 vt-w-48">
<a href="#" class="vt-nav-item vt-active vt-justify-between">
<span class="vt-nav-item-label">Overview</span> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" class="vt-w-4 vt-h-4" aria-hidden="true">
<path d="M9.00005 18C9.00005 18 15 13.5811 15 12C15 10.4188 9 6 9 6" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg>
</a>
<a href="#" class="vt-nav-item vt-justify-between">
<span class="vt-nav-item-label">Components</span> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" class="vt-w-4 vt-h-4 vt-opacity-0" aria-hidden="true">
<path d="M9.00005 18C9.00005 18 15 13.5811 15 12C15 10.4188 9 6 9 6" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg>
</a>
<a href="#" class="vt-nav-item vt-justify-between">
<span class="vt-nav-item-label">Utilities</span> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" class="vt-w-4 vt-h-4 vt-opacity-0" aria-hidden="true">
<path d="M9.00005 18C9.00005 18 15 13.5811 15 12C15 10.4188 9 6 9 6" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg>
</a>
<a href="#" class="vt-nav-item vt-justify-between">
<span class="vt-nav-item-label">Theming</span> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" class="vt-w-4 vt-h-4 vt-opacity-0" aria-hidden="true">
<path d="M9.00005 18C9.00005 18 15 13.5811 15 12C15 10.4188 9 6 9 6" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg>
</a>
</nav>
</div>
<div>
<p class="vt-section-label vt-mb-3">Horizontal</p>
<nav class="vt-flex vt-items-center vt-gap-1">
<a href="#" class="vt-nav-item-sub vt-active"><span class="vt-nav-item-label">Home</span></a>
<a href="#" class="vt-nav-item-sub"><span class="vt-nav-item-label">Products</span></a>
<a href="#" class="vt-nav-item-sub"><span class="vt-nav-item-label">Pricing</span></a>
<a href="#" class="vt-nav-item-sub"><span class="vt-nav-item-label">Contact</span></a>
</nav>
</div>
Link Card
Card-style links for feature highlights or resource lists.
html
<div class="vt-w-full vt-max-w-md vt-space-y-2">
<a href="#" class="vt-card vt-card-sm vt-card-interactive vt-group">
<div class="vt-card-body">
<div class="vt-flex vt-items-center vt-justify-between vt-gap-3">
<div class="vt-flex vt-items-center vt-gap-3">
<div class="vt-icon-badge vt-icon-badge-square">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" class="vt-icon-badge-icon" aria-hidden="true">
<path d="M8 18H16" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M8 14H16" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M8 10H10" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M13 2.5V3C13 5.82843 13 7.24264 13.8787 8.12132C14.7574 9 16.1716 9 19 9H19.5M20 10.6569V14C20 17.7712 20 19.6569 18.8284 20.8284C17.6569 22 15.7712 22 12 22C8.22876 22 6.34315 22 5.17157 20.8284C4 19.6569 4 17.7712 4 14V9.45584C4 6.21082 4 4.58831 4.88607 3.48933C5.06508 3.26731 5.26731 3.06508 5.48933 2.88607C6.58831 2 8.21082 2 11.4558 2C12.1614 2 12.5141 2 12.8372 2.11401C12.9044 2.13772 12.9702 2.165 13.0345 2.19575C13.3436 2.34355 13.593 2.593 14.0919 3.09188L18.8284 7.82843C19.4065 8.40649 19.6955 8.69552 19.8478 9.06306C20 9.4306 20 9.83935 20 10.6569Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg>
</div>
<div>
<div class="vt-label-md">Documentation</div>
<div class="vt-caption vt-text-foreground-muted">Get started with Veritheme</div>
</div>
</div>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" class="vt-w-4 vt-h-4 vt-text-foreground-muted vt-group-hover:translate-x-0.5 vt-transition-transform" aria-hidden="true">
<path d="M9.00005 6C9.00005 6 15 10.4189 15 12C15 13.5812 9 18 9 18" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg>
</div>
</div>
</a>
<a href="#" class="vt-card vt-card-sm vt-card-interactive vt-group">
<div class="vt-card-body">
<div class="vt-flex vt-items-center vt-justify-between vt-gap-3">
<div class="vt-flex vt-items-center vt-gap-3">
<div class="vt-icon-badge vt-icon-badge-square">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" class="vt-icon-badge-icon" aria-hidden="true">
<path d="M2.99969 17.0002C2.99969 17.9302 2.99969 18.3952 3.10192 18.7767C3.37932 19.8119 4.18796 20.6206 5.22324 20.898C5.60474 21.0002 6.06972 21.0002 6.99969 21.0002L16.9997 21.0002C17.9297 21.0002 18.3947 21.0002 18.7762 20.898C19.8114 20.6206 20.6201 19.8119 20.8975 18.7767C20.9997 18.3952 20.9997 17.9302 20.9997 17.0002" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M16.4998 11.5002C16.4998 11.5002 13.1856 16.0002 11.9997 16.0002C10.8139 16.0002 7.49976 11.5002 7.49976 11.5002M11.9997 15.0002V3.00016" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg>
</div>
<div>
<div class="vt-label-md">Download</div>
<div class="vt-caption vt-text-foreground-muted">Get the latest release</div>
</div>
</div>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" class="vt-w-4 vt-h-4 vt-text-foreground-muted vt-group-hover:translate-x-0.5 vt-transition-transform" aria-hidden="true">
<path d="M9.00005 6C9.00005 6 15 10.4189 15 12C15 13.5812 9 18 9 18" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg>
</div>
</div>
</a>
</div>
Guidelines
Read our setup documentation to get started.
To get started, click here.
API Reference
| Class | Type | Description |
|---|---|---|
vt-link |
Base | Brand-colored text link; underline appears on hover |
vt-link-muted |
Modifier | Secondary link that brightens to primary text on hover |
vt-inline-flexvt-items-centervt-gap-1 |
Layout | Inline flex layout for links with an icon |
Accessibility
| Feature | Details |
|---|---|
| Semantics | Use a element for navigation, button for actions |
| External | External links should indicate they open in a new tab via aria-label or visible text |
| Focus | Visible focus ring via :focus-visible for keyboard navigation |
| Descriptive | Link text should describe the destination — avoid "Click here" or "Read more" |