# Marketing Stat: Interactive Hover

Stat cards that reveal extra detail or a chart when you hover over them. Use it when you want a number to expand into context on a feature page.

- Page: https://www.shadcn-ui-blocks.com/blocks/marketing/stats/interactive-hover
- Collection: [Marketing](https://www.shadcn-ui-blocks.com/blocks/marketing), Free tier
- Group: [Stats](https://www.shadcn-ui-blocks.com/blocks/marketing/stats)
- Created: 2026-06-14
- Preview image: https://www.shadcn-ui-blocks.com/blocks/marketing/stats/interactive-hover.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/marketing-stats-interactive-hover
```

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-stats-interactive-hover.json"`.

## Depends on

- npm packages: class-variance-authority, lucide-react, radix-ui
- shadcn/ui components: badge, card
- Installs to: `@/components/blocks/marketing/stats/interactive-hover`

## About this block

Interactive Hover is a four card stats grid. A centered heading area
sits above the grid with a small badge, a bold section title, and a
one-line descriptor. Each card in the grid has an icon and label at the
top, a trend indicator with an arrow and percentage in the opposite
corner, a large headline number in the body, and a footer row showing
the last updated time. When a visitor hovers a card, a subtle background
wash fades in, the card lifts slightly, and a hidden detail panel slides
open below the headline number. That panel shows the current period
value, the prior period value, and a short table of three breakdown rows
such as quarter over quarter change, year over year change, and a
contextual highlight.

All four cards follow the same structure, so you can add or remove cards
freely. The badge, section title, and descriptor are plain copy. The
trend direction on each card drives the green or red arrow automatically,
so swapping the percentage text is all that is needed to flip the
indicator color. The three breakdown rows inside the hover panel are
independent, and any label or value pair can be replaced with whatever
context fits your metrics.

## When to use

Reach for this block on a storefront or brand results page where a flat
row of numbers would feel thin. The hover interaction rewards visitors
who want context, such as how average order value compares to the
previous quarter or which product category is driving the most revenue,
without crowding the resting layout. Compared to a simple three column
strip, this layout can carry four metrics and still hide the supporting
data until someone asks for it, which keeps the section from feeling
like a dashboard.

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 establish
  the brand and draw readers into the page
- [Trust Indicators](https://www.shadcn-ui-blocks.com/blocks/marketing/stats/trust-indicators)
  to warm up visitors with uptime and customer counts before
  showing deeper performance figures

**After**

- A [feature section](https://www.shadcn-ui-blocks.com/blocks/marketing/feature-sections) to
  connect the numbers to the product capabilities behind them
- A [CTA section](https://www.shadcn-ui-blocks.com/blocks/marketing/cta-sections) to convert
  the momentum from the metrics into a signup or purchase

## What you can display

The block suits any set of four metrics that benefit from a before and
after comparison. A few directions that work well for an ecommerce brand:

- **Sales performance.** Fill the cards with revenue, average order
  value, conversion rate, and return rate, then use the hover rows to
  break each figure down by channel or category.
- **Seasonal campaign results.** Slot in period totals for a sale event
  and use the prior period value to show the lift against the same
  window last year.
- **Audience health.** Track active buyers, repeat purchase rate, email
  open rate, and subscription growth so stakeholders can read the full
  customer picture in one section.

> Tip: keep the three breakdown rows in the hover panel short labels and
> single values so the panel opens and closes cleanly without jumping.

## More in Marketing Stats

- [Achievement Bars](https://www.shadcn-ui-blocks.com/blocks/marketing/stats/achievement-bars)
- [Card Group](https://www.shadcn-ui-blocks.com/blocks/marketing/stats/card-group)
- [Circular Progress](https://www.shadcn-ui-blocks.com/blocks/marketing/stats/circular-progress)
- [Comparison Metrics](https://www.shadcn-ui-blocks.com/blocks/marketing/stats/comparison-metrics)
- [Comparison Stats](https://www.shadcn-ui-blocks.com/blocks/marketing/stats/comparison-stats)
- [Customer Testimonial](https://www.shadcn-ui-blocks.com/blocks/marketing/stats/customer-testimonial)
- [Funnel Stats](https://www.shadcn-ui-blocks.com/blocks/marketing/stats/funnel-stats)
- [Gradient Grid](https://www.shadcn-ui-blocks.com/blocks/marketing/stats/gradient-grid)
- [Growth Timeline](https://www.shadcn-ui-blocks.com/blocks/marketing/stats/growth-timeline)
- [Horizontal With Dividers](https://www.shadcn-ui-blocks.com/blocks/marketing/stats/horizontal-with-dividers)
- [Impact Numbers](https://www.shadcn-ui-blocks.com/blocks/marketing/stats/impact-numbers)
- [Metric Cards](https://www.shadcn-ui-blocks.com/blocks/marketing/stats/metric-cards)
- [One Main With Three Follow Ups](https://www.shadcn-ui-blocks.com/blocks/marketing/stats/one-main-with-three-follow-ups)
- [Progress Bars](https://www.shadcn-ui-blocks.com/blocks/marketing/stats/progress-bars)
- [Simple 3 Cols](https://www.shadcn-ui-blocks.com/blocks/marketing/stats/simple-3-cols)
- [Sparkline Stats](https://www.shadcn-ui-blocks.com/blocks/marketing/stats/sparkline-stats)
- [Stats With Icons](https://www.shadcn-ui-blocks.com/blocks/marketing/stats/stats-with-icons)
- [Timeline Stats](https://www.shadcn-ui-blocks.com/blocks/marketing/stats/timeline-stats)
- [Trust Indicators](https://www.shadcn-ui-blocks.com/blocks/marketing/stats/trust-indicators)
