# Marketing Icon Section: Metric Cards

A set of cards pairing an icon with a headline metric and caption. Presents results, usage, or savings in confident, easy to scan tiles.

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

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/marketing-icon-sections-metric-cards
```

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-icon-sections-metric-cards.json"`.

## Depends on

- npm packages: class-variance-authority, lucide-react, radix-ui
- shadcn/ui components: badge, button
- Installs to: `@/components/blocks/marketing/icon-sections/metric-cards`

## About this block

Metric Cards opens with a centred badge, heading, and short paragraph
that frames the section. Below that, three collapsible accordion rows sit
stacked vertically: Performance Metrics, Security and Compliance, and
Usage and Growth. Clicking a row header toggles it open or closed. When
open, the row expands into a three column card grid. Each card has a
colour-washed header area holding an icon badge, a percentage change
indicator (with an up or down chevron), a metric title, a large bold
value, and a one-line caption. Below the coloured header, a white panel
shows a longer explanatory paragraph and two outline button links. The
section closes with a centred call to action: a heading, a supporting
line, and a primary button.

Every part of the data is driven by a plain array, so you can add or
remove cards from any section, relabel the three accordion rows, or
drop a whole section entirely. The call to action text and button label
are also straightforward to swap out.

## When to use

This layout works well on a trust or platform page where you need to
present multiple categories of numbers without flattening them into a
single wall of tiles. The accordion grouping lets visitors focus on one
topic at a time, which suits a logistics and delivery platform that
wants to show operational performance, security posture, and network
scale side by side without overwhelming the page. It has more depth than
a simple stat strip because each card carries a narrative explanation
and action links, making it closer to a live dashboard summary than a
headline boast.

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 set the platform
  context before visitors reach the numbers
- [Feature Sections](https://www.shadcn-ui-blocks.com/blocks/marketing/feature-sections) that introduce
  the product capabilities these metrics support

**After**

- [Testimonials](https://www.shadcn-ui-blocks.com/blocks/marketing/testimonials) so social proof follows
  the hard numbers
- A [CTA section](https://www.shadcn-ui-blocks.com/blocks/marketing/cta-sections) to convert visitors
  who are now convinced by the data

## What you can display

The three accordion groups make this a natural fit for any platform that
needs to separate its proof points by category. A few directions to
consider:

- **Operational reliability figures.** Fill the Performance group with
  delivery success rates, average transit times, and fleet utilisation
  to show carriers and shippers what to expect.
- **Compliance and certification status.** Use the Security group to
  surface regulatory standing, audit scores, and data handling
  standards that enterprise procurement teams look for.
- **Network and volume growth.** Populate the Usage group with parcel
  volumes, active partners, or countries covered to convey platform
  scale at a glance.

> Tip: keep each card's detail paragraph to two or three sentences so
> the expanded section stays readable and the action links stay visible
> without scrolling.

## More in Marketing Icon Sections

- [2 Cols Grid](https://www.shadcn-ui-blocks.com/blocks/marketing/icon-sections/2-cols-grid)
- [Animated Icon Grid](https://www.shadcn-ui-blocks.com/blocks/marketing/icon-sections/animated-icon-grid)
- [Centred Description With Icon Blocks](https://www.shadcn-ui-blocks.com/blocks/marketing/icon-sections/centred-description-with-icon-blocks)
- [Circle Icons Centre Aligned](https://www.shadcn-ui-blocks.com/blocks/marketing/icon-sections/circle-icons-centre-aligned)
- [Compact Metric List](https://www.shadcn-ui-blocks.com/blocks/marketing/icon-sections/compact-metric-list)
- [Description On Left Icon Blocks On Right](https://www.shadcn-ui-blocks.com/blocks/marketing/icon-sections/description-on-left-icon-blocks-on-right)
- [Expandable Icon Cards](https://www.shadcn-ui-blocks.com/blocks/marketing/icon-sections/expandable-icon-cards)
- [Feature Icon Tabs](https://www.shadcn-ui-blocks.com/blocks/marketing/icon-sections/feature-icon-tabs)
- [Horizontal Scrolling Icons](https://www.shadcn-ui-blocks.com/blocks/marketing/icon-sections/horizontal-scrolling-icons)
- [Icon Feature Carousel](https://www.shadcn-ui-blocks.com/blocks/marketing/icon-sections/icon-feature-carousel)
- [Icon Stats Grid](https://www.shadcn-ui-blocks.com/blocks/marketing/icon-sections/icon-stats-grid)
- [Icon Tabs Categories](https://www.shadcn-ui-blocks.com/blocks/marketing/icon-sections/icon-tabs-categories)
- [Icon Timeline](https://www.shadcn-ui-blocks.com/blocks/marketing/icon-sections/icon-timeline)
- [Icons With Tooltips](https://www.shadcn-ui-blocks.com/blocks/marketing/icon-sections/icons-with-tooltips)
- [Interactive Icon Showcase](https://www.shadcn-ui-blocks.com/blocks/marketing/icon-sections/interactive-icon-showcase)
- [Minimal Stats Tiles](https://www.shadcn-ui-blocks.com/blocks/marketing/icon-sections/minimal-stats-tiles)
- [Radial Icon Layout](https://www.shadcn-ui-blocks.com/blocks/marketing/icon-sections/radial-icon-layout)
- [Solid Icon With Hover Effect](https://www.shadcn-ui-blocks.com/blocks/marketing/icon-sections/solid-icon-with-hover-effect)
- [Stacked Cards](https://www.shadcn-ui-blocks.com/blocks/marketing/icon-sections/stacked-cards)
