Dragonglass

Links

Inline, standalone and quiet link treatments for navigation and supporting actions.

Inline links keep a visible underline so they remain identifiable inside surrounding copy.

Read the layout guide before composing a page.

<p>Read the <a data-link href="/dragonglass/layout.html">layout guide</a> before composing a page.</p>

The standalone token presents a link as an independent action without giving it button semantics.

View all components

<p>
  <a data-link="standalone" href="/dragonglass/app-components.html">View all components</a>
</p>

The quiet token lowers resting emphasis. Tokens are space-separated and may be combined on the same data-linkattribute.

Updated yesterday by Ana. View activity

<p>
  Updated yesterday by <a data-link="quiet" href="/dragonglass">Ana</a>.
  <a data-link="standalone quiet" href="/dragonglass/app-components.html">View activity</a>
</p>
Link elements, variants and states
NameTypeDefaultDescription
a[data-link]Element and attributeInlineApplies the persistent underline treatment to an anchor with an href.
standaloneAttribute tokenAbsentAdds emphasis for a standalone action and reveals its underline on interaction.
quietAttribute tokenAbsentUses secondary text color until hover or focus restores primary text color.
standalone quietCombined attribute tokensAbsentCombines standalone emphasis with the quieter resting color.
Focus stateStateGlobal link focusKeeps the framework focus indicator in addition to each link treatment.