Actions

Link

Underlined by default, quiet when inside navigation, and a button that looks like one.

Examples

Anatomy

a[href]Every link: accent colour, a faint underline that firms up on hover. No class needed.
a[data-quiet]Quiet link: inherits the surrounding colour; the underline appears only on hover.
button.linkA <button> that acts but reads as inline text. Strips the button padding, border and fill.

API

AttributeValuesDescription
data-quieton abooleanInherits the text colour and hides the underline until hover. For links in navigation, footers and dense lists.

Accessibility

  • Use <a href> when it goes somewhere and button.link when it does something; the look is the same, the semantics are not.
  • A quiet link has no colour cue and no underline at rest. Use it where the context already says "this is a link", such as a nav or a footer, not in running text.
  • Link text should make sense on its own: screen readers list links out of context.
KeyEffect
EnterFollows an <a href>. A button.link also answers Space.
Jump to
ProportionFoundations
MaterialFoundations
PresetsFoundations
ShellLayouts · Application
Container and stacksLayouts · Pages
SplitLayouts · Pages
Grid, bento, masonryLayouts · Pages
Switcher and rowLayouts · Pages
↑↓Move↵OpenescClose