# Marketing Stat: Timeline Stats

Key numbers plotted along a horizontal timeline of moments and dates. Use it to tell a growth story across quarters on an about or press page.

- Page: https://www.shadcn-ui-blocks.com/blocks/marketing/stats/timeline-stats
- 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/timeline-stats.png

## Install

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

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

## Depends on

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

## About this block

Timeline Stats opens with a centered heading, a badge, and a short
description paragraph. Below that sits a tab strip with four periods:
Weekly, Monthly, Quarterly, and Yearly. Switching tabs swaps in a four
column grid of stat cards, each holding a metric label, a clock icon
with the active period name, a large value, and a pill that shows the
percentage change versus the prior period with an up or down arrow.
Cards where a lower count is the good outcome (like support tickets)
display their pill in green when the number falls, so the color always
signals whether the trend is positive or negative.

All four data sets are independent, so you can replace the metric
labels, values, and change percentages for each period without touching
the layout. You can also add or drop stat cards in any period, though
four cards fills the row cleanly at wide viewports. The heading copy and
description are a single text block and can be rewritten or removed
without affecting the tab panel.

## When to use

Reach for this block when you want visitors to explore performance
across multiple time horizons without leaving the section. It fits an
AI assistant product well because those products ship usage, conversion,
and reliability numbers that look very different week over week versus
year over year. The tab toggle lets a skeptical reader pick the window
that matters to them rather than trusting a single hand-picked figure.
It is stronger than a static row of stats when your story depends on
trend direction, and stronger than a chart when exact current values
matter as much as the shape of growth.

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 introduce the
  product so the numbers land with context already set
- [Horizontal With Dividers](https://www.shadcn-ui-blocks.com/blocks/marketing/stats/horizontal-with-dividers)
  as a fast headline summary before the deeper period breakdown

**After**

- A [testimonials section](https://www.shadcn-ui-blocks.com/blocks/marketing/testimonials) to reinforce
  the numbers with a customer voice
- A [CTA section](https://www.shadcn-ui-blocks.com/blocks/marketing/cta-sections) to convert readers
  who have just seen the growth evidence

## What you can display

The tab grid works for any set of metrics that a reader might want to
slice by time window. A few concrete fits for an AI assistant product:

- **Usage volume over time.** Swap in queries processed, active users,
  and API calls per period to show adoption growing across every window.
- **Quality and reliability metrics.** Track accuracy scores, latency,
  and error rates to demonstrate that the product improves as it scales.
- **Business conversion numbers.** Surface trial starts, paid upgrades,
  and churn rates per period so prospects can see the commercial
  momentum behind the product.

> Tip: keep all four periods populated even if some numbers look modest;
> readers trust a complete data set more than one that skips a slow week.

## 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)
- [Interactive Hover](https://www.shadcn-ui-blocks.com/blocks/marketing/stats/interactive-hover)
- [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)
- [Trust Indicators](https://www.shadcn-ui-blocks.com/blocks/marketing/stats/trust-indicators)
