# Marketing Masonry Section: Cards On Images

A masonry grid of cards layered over images, each with a heading and short text. Showcases a gallery, portfolio, or product collection on a landing page.

- Page: https://www.shadcn-ui-blocks.com/blocks/marketing/masonry-sections/cards-on-images
- Collection: [Marketing](https://www.shadcn-ui-blocks.com/blocks/marketing), Free tier
- Group: [Masonry Sections](https://www.shadcn-ui-blocks.com/blocks/marketing/masonry-sections)
- Created: 2026-06-14
- Preview image: https://www.shadcn-ui-blocks.com/blocks/marketing/masonry-sections/cards-on-images.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/marketing-masonry-sections-cards-on-images
```

A free block: it installs with no account or key. Or install it by URL: `npx shadcn@latest add "https://www.shadcn-ui-blocks.com/r/marketing-masonry-sections-cards-on-images.json"`.

## Depends on

- Installs to: `@/components/blocks/marketing/masonry-sections/cards-on-images`

## About this block

Cards On Images is a five-card image grid. The cards are arranged in two
rows: a wider pair of offset columns on top, followed by three equal columns
below. Each card is a full-bleed photo with a rounded label pinned to the
bottom edge. Hovering or focusing a card gently scales the photo up while
the label stays fixed, giving each item a clear interactive cue.

All five cards are independent, so you can swap any photo, rewrite any
label, and point each link to a different destination without affecting the
others. You can also add or remove cards by adjusting the grid columns,
and the two-row structure can collapse to a single row if you only need
a smaller set.

## When to use

Reach for this block when you want to surface a small, browsable collection
where the visual is the hook and a short label is all the context needed.
For a healthcare scheduling product it works well as a resource hub, showing
care categories like specialist visits, telehealth, mental health, and
preventive care as distinct, tappable destinations. It handles this better
than a plain list or a text-heavy feature grid because the image carries the
emotional weight and the label focuses the click.

A natural flow around it on a Marketing (Legacy) page:

**Before**

- A [hero section](https://www.shadcn-ui-blocks.com/blocks/marketing/hero-sections) to orient visitors
  before they browse the categories below
- An [about section](https://www.shadcn-ui-blocks.com/blocks/marketing/about-sections) that frames the
  service before showing the visual collection

**After**

- A [testimonials section](https://www.shadcn-ui-blocks.com/blocks/marketing/testimonials) to follow up
  the browsable grid with social proof
- A [CTA section](https://www.shadcn-ui-blocks.com/blocks/marketing/cta-sections) to convert interest
  captured by the cards into a signup or booking

## What you can display

Each card is a photo paired with a short label, so the block suits any
content where a single image tells most of the story. A few concrete fits:

- **Care category tiles.** Use one card per appointment type, such as
  primary care, urgent care, or mental health, so patients can navigate
  directly to the scheduling flow they need.
- **Team or department spotlights.** Assign each card to a department with
  a photo of that team in context and a label naming the group.
- **Resource or guide collection.** Drop in editorial or explainer images
  and label each card with the guide title to build a visual content index.

> Tip: keep every label to two or three words so it reads cleanly at small
> sizes and does not compete with the photo.
