Dev Helpers

React / Cards

Linked article card

Dev Helpers · August 6, 2026

A linked card benefits from one clear destination. Avoid nested interactive elements that make clicking and keyboard navigation ambiguous.

Worked example

// components/LinkedArticleCard.tsx

export default function LinkedArticleCard({
  title = "Field notes",
  body = "A guide to the workshop",
  href = "/guide",
}: { title?: string; body?: string; href?: string } = {}) {
  return (
    <article>
      <h2>
        <a href={href}>{title}</a>
      </h2>
      <p>{body}</p>
    </article>
  );
}

Implementation notes

A card containing separate actions needs a layout with sibling controls. One link wrapped around another interactive element creates conflicting activation targets.

Try it yourself

Tab across a card containing a headline and supporting text.

Open the React example →

Editorial date August 6, 2026 · Published December 6, 2026

Related articles

Percentage meter

A percentage meter needs both a bounded visual fill and a meaningful textual value. Handle a zero denominator before dividing.

Vertical typesetting sample

Vertical typesetting changes the reading direction and available inline space. Treat the sample text as content so it remains selectable and accessible.

Square cover crop

A square image crop gives a card grid consistent geometry. The crop anchor determines whether the most important part of a photo survives.