Link
atomsInline text link without button chrome: an anchor when given href, otherwise a button for in-page actions that read as links.
Links in prose and in a list
underline="always" inside running text, the default hover underline for entity titles, and a button form for an in-page action.
Alerts route through the on-call schedule; edit it in the infra repository.
Tones and underlines
tone accent, info, muted or inherit; underline always, hover or none.
Anchor, button, download and long titles
href renders an anchor (target and rel pass through); without it a button. align="start" keeps a wrapped button title left-aligned.
Micro-interactions
data-fx-link on any ancestor: "sweep" (default) draws the underline in from the left, "highlight" swipes a marker behind the words, "none" keeps the plain underline. underline="none" links never animate.
Tap-sized and wrapping links
The sweep line and the highlight follow the text, line by line, whatever padding, min-height or display the app gives the link.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
href | string | — | |
tone | 'accent' | 'info' | 'muted' | 'inherit' | 'accent' | |
underline | 'always' | 'hover' | 'none' | 'hover' | |
align | 'start' | 'center' | 'start' | Text alignment of the <button> form; multi-line titles want `start`. |
class | string | '' | |
children | Snippet | — | |
target | string | — | |
rel | string | — | |
download | string | boolean | — |