Skip to main content
Clever Ops

Case Study Spread

A one-engagement case study spread, the client name in display type beside counted result metrics, scope receipts and an attributed quote. React and Tailwind, work-first.

Preview & code

Loading Case Study Spread preview

Installation

pnpm dlx shadcn@latest add @cleverui/case-study-spread

Requires the @cleverui registry in your components.json, a one-off, two-line setup.

Usage

tsx
import { CaseStudySpread } from '@/components/blocks/case-study-spread'
Exampletsx
'use client'

import { CaseStudySpread } from '@/components/blocks/case-study-spread'

export default function CaseStudySpreadDemo() {
  return (
    <CaseStudySpread
      eyebrow="Case study"
      client="Alpine Bank"
      summary="Repositioned the brand and rebuilt the storefront in eleven weeks, from first workshop to public launch."
      metrics={[
        {
          value: 212,
          prefix: '+',
          suffix: '%',
          label: 'Organic sessions',
        },
        {
          value: 4.8,
          prefix: '$',
          suffix: 'M',
          decimals: 1,
          label: 'Deposits originated in quarter one',
        },
        {
          value: 1.2,
          suffix: 's',
          decimals: 1,
          label: 'Median page load on 4G',
        },
      ]}
      scope={[
        'Brand identity',
        'Design system in code',
        'Marketing site rebuild',
        'Branch wayfinding kit',
      ]}
      meta="BRAND · 2026 · 11 WKS"
      quote={{
        quote:
          'They shipped a bank that finally looks like the one we run, and the numbers followed the work.',
        name: 'Mara Chen',
        jobTitle: 'Chief Marketing Officer',
      }}
      ctaHref="#alpine-bank"
      ctaLabel="Read the case study"
    />
  )
}

API reference

CaseStudySpread accepts the following props.

PropTypeDefaultDescription
eyebrowstring'Case study'quiet spaced sans label above the client name
client*stringclient or project name, the spread's display-type hero
summary*stringone or two plain sentences of what was done
metrics*CaseStudyMetric[]2–4 outcomes
scopestring[]3–5 short deliverable receipts
scopeLabelstring'Scope'
metastringPREFORMATTED mono reference line, e.g. 'BRAND · 2026 · 12 WKS'
quoteCaseStudyQuote
ctaHrefstring
ctaLabelstring'Read the case study'

…plus everything from React.HTMLAttributes<HTMLElement>: className, event handlers, aria attributes and the rest pass straight through.

Referenced types

Typestsx
export interface CaseStudyMetric {
  value: number
  prefix?: string
  suffix?: string
  decimals?: number
  /** sentence-case, e.g. 'Organic sessions' */
  label: string
}

export interface CaseStudyQuote {
  quote: string
  name: string
  jobTitle?: string
}

Frequently asked questions

How do I install the Case Study Spread component?

Register the @cleverui registry in your components.json ("@cleverui": "https://cleverops.com.au/r/{name}.json"), then run `npx shadcn@latest add @cleverui/case-study-spread`. The shadcn CLI copies the source into your project, you own the code from that point. You can also copy the source directly from this page.

What dependencies does Case Study Spread require?

Case Study Spread uses motion on top of React and Tailwind CSS. You don't need to install it manually, the shadcn CLI resolves and installs npm dependencies automatically when you add the component.

Can I theme Case Study Spread to match my brand?

Yes. The component is styled entirely with Tailwind utilities over standard design tokens (primary, background, muted, border), so it inherits your existing shadcn/ui theme automatically. Change your CSS variables and the component follows, no source edits needed for palette, radius, or fonts.

Want this built for you?

CleverUI is built by the Clever Ops web team. If you'd rather ship a hand-coded, fast, custom website than assemble one, we build them for Australian businesses every week.

Explore web development services