Skip to content

Search Feitio

↵ opens the first↑↓ chooseEsc closes

LinkCard

A door to another area: a title, a sentence and the arrow. The whole card is the link.

On this page

Playground

Background
HTML
<div style="inline-size: min(100%, 22rem)"><a class="feitio-link-card" href="#playground"><strong>Design<svg class="feitio-icon" aria-hidden="true"><use href="/feitio/icons/sprite.svg#feitio-chevron-right"></use></svg></strong><span>The concept, the foundations and the patterns.</span></a></div>

When to use

When not to use

Examples

Doors side by side

In a Grid, each card with a title, a sentence and the arrow. On hover, the paper lifts.

Show code
HTML
<div class="feitio-grid" data-gap="4" style="--feitio-grid-min: 12rem">
  <a class="feitio-link-card" href="/design">
    <strong>Design<svg class="feitio-icon" aria-hidden="true">…</svg></strong>
    <span>O porquê de cada escolha.</span>
  </a>
  …
</div>

Anatomy

  1. Card: the whole link, on paper; it lifts on hover.
  2. Title: the destination, in one or two words.
  3. Arrow: says it goes somewhere else.
  4. Sentence: what is on the other side.

States

Do and don’t

Do

A title that is the destination, and a sentence saying what is there.

Don’t

"Learn more" does not say the destination, and a link inside the link card muddles the click.

Accessibility

Attributes

AttributeValuesWhat for
class="feitio-link-card"on the <a>The link card, with the lifting paper.
<strong>the title, with the arrowThe destination, in one or two words.
<span>the sentenceWhat is on the other side.
Top