Skip to main content
BlocksCase studiesThree-column story grid with headline metrics

shadcn/ui Case studies blockThree-column story grid with headline metrics

Customer story grid for shadcn/ui: a centred heading stack over six Cards, each with a cover photo, an industry Badge floating on the image, a lucide wordmark, a story title, one large tabular headline metric with its label and a "Read story" arrow link that covers the whole card. Collapses to two columns on tablets and one on phones. The default customers index for a product marketing site.

Free@shadcnpro/case-studies-01

Preview

Installation

npx shadcn@latest add @shadcnpro/case-studies-01

First time? Add the @shadcnpro registry to components.json as shown in Installation. Free blocks install without a license key.

Let your AI editor install it

The shadcn/ui Pro MCP server lets Cursor, Claude Code and VS Code find and install blocks like Three-column story grid with headline metrics from one prompt. It is included in every Pro plan.

Add the shadcn/ui components

Three-column story grid with headline metrics uses Badge and Card.

npx shadcn@latest add badge card

Install the npm packages

npm install lucide-react

Copy the code

Paste it into components/blocks/case-studies-01.tsx.

components/blocks/case-studies-01.tsx
'use client';

import {
  ArrowRightIcon,
  CompassIcon,
  FeatherIcon,
  HeartPulseIcon,
  RadioIcon,
  WavesIcon,
  ZapIcon,
} from 'lucide-react';

import { Badge } from '@/components/ui/badge';
import { Card, CardContent } from '@/components/ui/card';

const stories = [
  {
    company: 'Fjord Mobility',
    icon: WavesIcon,
    industry: 'Mobility',
    title: 'Six weeks to a production design system',
    metric: '6 wks',
    metricLabel: 'to a production design system',
    image:
      'https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=1000&q=80',
    alt: 'Fjord Mobility design team around a table',
  },
  {
    company: 'Kite Payments',
    icon: ZapIcon,
    industry: 'Fintech',
    title: 'Handoff cut from eleven days to under two',
    metric: '< 2 days',
    metricLabel: 'design-to-code handoff',
    image:
      'https://images.unsplash.com/photo-1498050108023-c5249f4df085?auto=format&fit=crop&w=1000&q=80',
    alt: 'Laptop showing generated component code',
  },
  {
    company: 'Marrow Health',
    icon: HeartPulseIcon,
    industry: 'Healthcare',
    title: '83 accessibility issues down to 4',
    metric: '83 → 4',
    metricLabel: 'open accessibility issues',
    image:
      'https://images.unsplash.com/photo-1573164713988-8665fc963095?auto=format&fit=crop&w=1000&q=80',
    alt: 'Product manager reviewing the patient portal on a laptop',
  },
  {
    company: 'Northwind',
    icon: CompassIcon,
    industry: 'SaaS',
    title: 'Token edits that open a PR in two minutes',
    metric: '2 min',
    metricLabel: 'from token edit to pull request',
    image:
      'https://images.unsplash.com/photo-1555066931-4365d14bab8c?auto=format&fit=crop&w=1000&q=80',
    alt: 'Code editor with a theme file open',
  },
  {
    company: 'Quillstack',
    icon: FeatherIcon,
    industry: 'Media',
    title: 'Retiring Storybook, saving an engineer-year',
    metric: '~1 yr',
    metricLabel: 'of engineering time saved',
    image:
      'https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1000&q=80',
    alt: 'Quillstack newsroom office interior',
  },
  {
    company: 'Signalwave Studios',
    icon: RadioIcon,
    industry: 'Agencies',
    title: 'Client projects with no handoff phase',
    metric: '0',
    metricLabel: 'handoff phases per project',
    image:
      'https://images.unsplash.com/photo-1600880292203-757bb62b4baf?auto=format&fit=crop&w=1000&q=80',
    alt: 'Two designers planning with sticky notes',
  },
];

/**
 * Centred heading over a three-column grid of six customer story Cards, each with a cover photo, industry Badge, wordmark, title, one headline metric and a "Read story" link.
 */
export default function CaseStudies01() {
  return (
    <section className="w-full py-16 sm:py-24">
      <div className="mx-auto w-full max-w-6xl px-6">
        <div className="mx-auto max-w-2xl text-center">
          <p className="font-medium text-primary text-sm">Customer stories</p>
          <h2 className="mt-2 text-balance font-semibold text-3xl text-foreground tracking-tight sm:text-4xl">
            Teams that stopped rebuilding their designs in code
          </h2>
          <p className="mt-4 text-pretty text-lg text-muted-foreground">
            How product teams in fintech, healthcare, mobility and media use
            Lumen to turn Figma into production components and keep them in
            sync.
          </p>
        </div>

        <div className="mt-12 grid grid-cols-1 gap-6 sm:grid-cols-2 md:grid-cols-3">
          {stories.map((story) => (
            <Card
              className="group relative flex flex-col gap-0 overflow-hidden py-0 shadow-none transition-colors hover:border-foreground/20"
              key={story.company}
            >
              <div className="relative">
                <img
                  alt={story.alt}
                  className="aspect-[16/10] w-full object-cover transition-transform duration-300 group-hover:scale-[1.02]"
                  loading="lazy"
                  src={story.image}
                />
                <Badge
                  className="absolute top-3 left-3 bg-background/90 text-foreground backdrop-blur"
                  variant="outline"
                >
                  {story.industry}
                </Badge>
              </div>
              <CardContent className="flex flex-1 flex-col p-6">
                <div className="flex items-center gap-2 text-foreground">
                  <story.icon aria-hidden="true" className="size-4" />
                  <span className="font-medium text-sm">{story.company}</span>
                </div>
                <h3 className="mt-3 mb-6 text-pretty font-semibold text-foreground text-lg leading-snug">
                  <a className="after:absolute after:inset-0" href="#">
                    {story.title}
                  </a>
                </h3>
                <div className="mt-auto border-border border-t pt-5">
                  <p className="font-semibold text-3xl text-foreground tabular-nums tracking-tight">
                    {story.metric}
                  </p>
                  <p className="mt-1 text-muted-foreground text-sm">
                    {story.metricLabel}
                  </p>
                </div>
                <p className="mt-auto flex items-center gap-1 pt-6 font-medium text-primary text-sm">
                  Read story
                  <ArrowRightIcon
                    aria-hidden="true"
                    className="size-4 transition-transform group-hover:translate-x-0.5"
                  />
                </p>
              </CardContent>
            </Card>
          ))}
        </div>
      </div>
    </section>
  );
}

Use it

Import it where you need it and update the import path to match your project.

Usage
import CaseStudies01 from '@/components/blocks/case-studies-01';

export default function Page() {
  return <CaseStudies01 />;
}

Overview

Three-column story grid with headline metrics is a free case studies block for shadcn/ui. It is built from the Badge and Card components with lucide-react, and installs as a single file you own and can edit.

It only uses semantic tokens such as bg-background, text-muted-foreground and border-border, so it follows your theme, radius and fonts and switches with dark mode. It is responsive from desktop to mobile; the width controls above the preview show each size. The same layout is in the shadcn/ui Pro Figma kit, so design and code start from one source.

Category
Case studies
Component library
Radix UI (radix-ui)
Also available for
Base UI, React Aria
Built with
Badge and Card
npm packages
lucide-react
Files
components/blocks/case-studies-01.tsx
Access
Free, installs without a license key

Frequently asked questions

Pricing, installation and Radix UI details for Three-column story grid with headline metrics.