Skip to content
IndexRequest a UIAboutContact

Article Card Meta Layouts

One article card in vertical, horizontal and compact forms with a clear order of meta.

Open alone ↗

AI prompt

PROMPT: PASTE INTO YOUR AI CODING TOOL
Clean UI mockup showing the same article card in three layouts: a vertical card with a wide cover image, a small uppercase category label, a bold headline, a one-line summary and a muted line with author name, date and 6 min read; a horizontal card with the image on the left; and a compact text-only card in a narrow sidebar, light theme, rounded corners, thin borders, flat modern style. Negative: heavy shadows, clutter, text errors. Reduced motion: static design.

About this pattern

Definition

A content card must show what the piece is, why to read it and how long it takes, in a clear order. Category is a small label, the title is the largest element, and the author, date and read time sit in a muted meta line. Changing layout should not change that order of importance.

Purpose & UX principles

  • Order: image, category, title, one-line summary, meta.
  • Title is the only large text; meta uses small muted text with separators.
  • Vertical cards suit grids; horizontal cards suit lists; compact cards suit sidebars and drop the image.
  • Make the whole card one link, with the title as the link text.

Interaction states

  • Three layout buttons; hover or focus the card.

Motion specification

  • The card lifts 2px on hover over 150ms.
  • Reduced motion: no lift.

Responsive behaviour

  • Give images empty alt text if they only decorate, and a real alt if they carry meaning.
  • Do not truncate titles to one line if it hides the meaning.

Code

HTML
<div class="bx"><div class="pre" id="pre" role="group" aria-label="Layout"><button data-p="0" aria-pressed="true">Vertical</button><button data-p="1" aria-pressed="false">Horizontal</button><button data-p="2" aria-pressed="false">Compact</button></div><a class="ac" id="ac" href="#" onclick="return false"><i class="im"></i><span class="bd"><small class="ct">Design</small><b>Why small details make interfaces feel finished</b><span class="sm">A look at spacing, timing and the quiet choices users never notice.</span><small class="mt">Maya Chen · Nov 12 · 6 min read</small></span></a></div>

Related patterns

Media Card Hover Scrub

↗
Media Card Hover ScrubCards & Containers

Hover Reveal Card

↗
Hover Reveal CardCards & Containers

Expandable Card

↗
Expandable CardCards & Containers