Helpers
Icon link
A link with an icon before or after it, lined up neatly. Add icon-link-hover and the arrow nudges forward when you point at it.
<div class="cluster gap-6">
<a href="#icon-link" class="icon-link"><i class="mi mi-download"></i>Download the report</a>
<a href="#icon-link" class="icon-link icon-link-hover">Read the docs<i class="mi mi-arrow-right"></i></a>
<a href="#icon-link" class="icon-link icon-link-hover link-plain">View all orders<i class="mi mi-chevron-right"></i></a>
</div>
| Class | What it does |
|---|---|
icon-link | link and icon lined up with a small gap |
icon-link-hover | the last icon moves forward on hover and focus (backward in right-to-left) |