Skip to content

Layout

Card

Also calledcontent cardcontent tile

A container that groups related information about one item, often with a title, image, description, or action.

How people describe it

  • “box with a picture title and description”
  • “separate rectangle containing one item”
  • “small bordered block with a heading and a link”

Good for

  • Product summaries
  • Article previews

Don’t mix it up with

  • Appears over the page and blocks interaction; a card stays in the page layout.

What your library calls it

LIBRARYCALLS IT
shadcn/uiCard

Accessibility checklist

  • Use a heading that fits the page hierarchy
  • Use descriptive links instead of a clickable div
  • Do not nest buttons inside links

Try it

Trail Runner

Light, grippy shoes for muddy weekend runs.

Save it with the heart. Switch to a horizontal layout.

Prompt

Add a card grouping a title and description with a clear action link.

~18 estimated prompt tokensDetailed: ~56 estimated prompt tokens

Rough estimate for prompt text only; actual counts vary by model and context.

<article>
  <h2>Planning a garden</h2>
  <p>A practical guide to choosing your first plants.</p>
  <a href="/guides/garden/" style="display:inline-flex; align-items:center; min-height:44px">Read the garden guide</a>
</article>

Used in

Explore website blueprints that use this component.