# Portfolio Stat: Before After Stats

A heading and lede above ruled rows that pair each metric and its measurement note with a before figure, an arrow, and an after figure.

- Page: https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/stats-sections/before-after-stats
- Collection: [Portfolio](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro), Standard tier
- Group: [Stats](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/stats-sections)
- Created: 2026-07-04
- Preview image: https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/stats-sections/before-after-stats.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/portfolio-pro-stats-sections-before-after-stats
```

Needs an API key from a Pro or Team plan: add `@shadcn-ui-blocks` to the registries in components.json with the key as an `Authorization: Bearer` header. Setup: https://www.shadcn-ui-blocks.com/docs/shadcn-cli. The MCP server installs it without the setup: https://www.shadcn-ui-blocks.com/docs/mcp.

## Depends on

- npm packages: lucide-react
- Installs to: `@/components/blocks/portfolio-pro/stats-sections/before-after-stats`

## About this block

Before After Stats is the change-over-time block, three ruled
rows that each pair a metric with a before figure, an arrow,
and an after figure so no result stands without its starting
point: checkout load time from 6.4s to 1.2s on a storefront
rebuild for Fernway Goods, trial to paid conversion from 2.1%
to 3.4% on a Series A onboarding redesign, and time to publish
a page from 48h to 6h on an editorial design system. A note
under each metric records how the change was measured.

Rows are one array in a bordered, divided card. The
measurement note is the distinctive element, naming the
client, the window, and who ran the numbers keeps the delta
from reading as a claim.

## When to use

Reach for this block on a case study page or a homepage where
you want a result to read as a documented improvement rather
than a single flattering number. The installer swaps the three
metrics, the before and after figures, and the measurement
notes for their own work.

A natural flow around it on a Portfolio Pro page:

**Before**

- [Case study split](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/case-study-sections)
- [Featured work grid](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/work-grids)

**After**

- [Testimonials](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/testimonials)
- [Contact band](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/cta-sections)

## What you can display

One strong use is the before-and-after outcome ledger for a
product designer. Other paired figures:

- **Developer gains.** Load times, error rates, or build
  durations shown before and after a rebuild.
- **Writer gains.** Readership, shares, or subscriber counts
  measured across the same window on either side of a redesign.
- **Agency gains.** Conversion, retention, or revenue paired
  before and after a named engagement.

> Tip: the note under each metric must name the client and the
> window, a before-and-after pair without a source reads as
> invented.

## More in Portfolio Stats

- [Achievement Counters](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/stats-sections/achievement-counters)
- [At A Glance Facts](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/stats-sections/at-a-glance-facts)
- [Availability Stat Band](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/stats-sections/availability-stat-band)
- [Big Figures Band](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/stats-sections/big-figures-band)
- [By The Numbers](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/stats-sections/by-the-numbers)
- [Career Stats](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/stats-sections/career-stats)
- [Client Logos And Stats](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/stats-sections/client-logos-and-stats)
- [Four Up Stats](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/stats-sections/four-up-stats)
- [Headline Stat](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/stats-sections/headline-stat)
- [Impact Numbers](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/stats-sections/impact-numbers)
- [Impact Stats](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/stats-sections/impact-stats)
- [Inline Stats Row](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/stats-sections/inline-stats-row)
- [Numbers Strip](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/stats-sections/numbers-strip)
- [Projects Per Year](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/stats-sections/projects-per-year)
- [Stats With Context](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/stats-sections/stats-with-context)
- [Stats With Icons](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/stats-sections/stats-with-icons)
- [Work Mix Split](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/stats-sections/work-mix-split)
- [Years And Projects](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/stats-sections/years-and-projects)
