Card Image

A card surface with a dedicated image area plus heading and description slots. Ships light and dark image sources that switch with the theme.

Install

Examples

Default variant

Image on top, text below. Provide image-src and image-src-dark so the artwork tracks the active theme.

Component Library

Drag and drop components with endless combinations.

Fill variant

The image fills the card and text sits above it — set a fixed height for a consistent tile.

120 Styles & Variables

Semantic color and type styles.

Guidelines

Usage

feature cards, blog-post previews, and product showcases — any content pairing an image with text, often laid out in a bento grid. For a plain surface, use Card.

Do

  • Put a real heading element in the heading slot so the card joins the document outline.
  • Supply both image-src and image-src-dark so artwork reads in either theme.
  • Keep peer cards the same height — use the fill variant with a fixed height in a grid.

Don’t

  • Don’t overlay text on a busy fill image without enough contrast.
  • Don’t leave image-alt empty when the image carries meaning.
  • Don’t use it for plain grouped content — reach for Card.

Accessibility

Properties

Related