Use cases
- Inline references inside prose.
- Standalone navigation links in cards and empty states.
- Product navigation links that should remain semantic anchors.
- External links with safe browser defaults.
When NOT to use
- For side effects such as save, delete, open modal, or submit → use Button.
- For current-page breadcrumb labels → use BreadcrumbPage.
Variants
| Variant | Use when |
|---|---|
inline | Default prose link. |
accent | Rare orange emphasis. Counts against the 10% accent layer. |
muted | Secondary link in metadata or supporting copy. |
foreground | Starts as body text and reveals interactivity on hover. |
nav | Navigation links with optional data-active="true". |
standalone | Link outside a sentence. |
button | Anchor that navigates but needs compact action styling. |
Agent rules
- Use
Linkfor real navigation. UseButtonfor side effects. - Use
externalfor external destinations; it addstarget="_blank"and saferel. - Use token classes only. Do not hardcode colors or arbitrary Tailwind visual values.
- Normal links belong to the 30% supporting brand-blue layer. Use
variant="accent"only for small emphasis.