Actions
Link
Underlined text that takes people to another place, used inside sentences and for quiet references in supporting text.
In kanso-ui as Link
Variants and sizes
k-link:accenttext, underlined.k-link k-link--quiet: the colour of the text around it,inkorink-muted, still underlined. Use it in supporting lines and captions, where accent would compete with the screen's one highlighted action.
States
- Rest: a 1px underline.
- Hover: the underline thickens to 2px; the colour stays.
- Focus: the 2px
focus-ring, 2px outside, with softened corners. - Visited: no change.
k-linkkeeps one colour in every state, so a visited link never turns purple: in an app, links lead to places people come back to, not pages to tick off. - The underline is there in every state, so colour is never the only cue that text is a link.
Do and don’t
Do
Say where it goes: "See the 5 payments", "Manage members".
Keep the underline, in every colour.
Don’t
Use a link to run an action.
Drop the underline to calm a busy line; use the quiet link.
Put two links side by side without words between them.
What you provide
- The words.
- The destination,
href. - Quiet or not.