Case Study Layout

Full case study page layout

Marketing BlockCase Studies

Overview

A compound component for rendering a complete case study page. Each sub-component is independently composable inside the root wrapper.

Usage

import { CaseStudyLayout } from "@leanicon/web-builder-library";

Default

Full case study with all sub-components: hero with logo and industry tag, metrics bar, body prose, and author quote.

Acme CorpManufacturing

How Acme Corp cut operational costs by 40% in six months

40%Cost reduction
12Facilities automated
6moMonths to ROI

Acme Corp is a global manufacturing leader with operations spanning 12 facilities across three continents. Before adopting our platform, procurement and warehouse workflows relied on disconnected spreadsheets and manual approvals — a process that cost the business weeks of delay every quarter.

After a 90-day rollout, Acme Corp saw a 40% reduction in operational costs, driven primarily by automated purchase-order routing and real-time inventory reconciliation.

“We went from quarterly fire drills to a smooth, predictable operation. The ROI was undeniable within the first six months.”

Sarah Kim— VP of Operations, Acme Corp

Minimal layout

Hero and body only — no metrics bar or quote.

SaaS

TechCo grows annual recurring revenue 3x with smarter onboarding

TechCo's product team reduced time-to-value for new users from 14 days to under 48 hours by integrating our analytics suite directly into their onboarding flow.

Hero with background image

Pass backgroundImage to render a full-bleed image behind the hero. A dark overlay is applied automatically.

Acme CorpManufacturing

How Acme Corp cut operational costs by 40% in six months

Acme Corp is a global manufacturing leader with operations spanning 12 facilities across three continents.

When companyLogo is omitted, the hero renders only the industry tag and title.

Manufacturing

How Acme Corp cut operational costs by 40% in six months

Acme Corp is a global manufacturing leader with operations spanning 12 facilities across three continents.

Hero without industry tag

When industryTag is omitted, the pill badge is hidden.

Acme Corp

How Acme Corp cut operational costs by 40% in six months

Acme Corp is a global manufacturing leader with operations spanning 12 facilities across three continents.

Hero — title only

The simplest hero: only the required title prop.

How Acme Corp cut operational costs by 40% in six months

Acme Corp is a global manufacturing leader with operations spanning 12 facilities across three continents.

Metrics with prefix and suffix

Use prefix and suffix to format metric values — e.g. $2.4M or 99.9%.

FinServ CorpFinancial Services

FinServ Corp achieves record returns with data-driven insights

$2.4MAnnual savings
99.9%Uptime achieved
3×Processing speed

FinServ Corp leveraged our analytics platform to streamline their reporting pipeline, cutting manual reconciliation time by 80%.

Quote without author title

When authorTitle is omitted, only the author name is shown.

Acme CorpManufacturing

How Acme Corp cut operational costs by 40% in six months

Acme Corp is a global manufacturing leader with operations spanning 12 facilities across three continents.

“We went from quarterly fire drills to a smooth, predictable operation.”

Sarah Kim

Dark mode

RetailBrandRetail

RetailBrand transforms the in-store experience across 500 locations

98%Customer satisfaction
500Locations deployed

RetailBrand deployed our tooling at scale, giving store associates real-time inventory visibility and reducing checkout wait times by a third.

“Our associates finally have the information they need, right when they need it.”

Marcus Lee— Chief Digital Officer, RetailBrand

Minimal layout — dark mode

SaaS

TechCo grows annual recurring revenue 3x with smarter onboarding

TechCo's product team reduced time-to-value for new users from 14 days to under 48 hours by integrating our analytics suite directly into their onboarding flow.

Hero with background image — dark mode

RetailBrandRetail

RetailBrand transforms the in-store experience across 500 locations

RetailBrand deployed our tooling at scale, giving store associates real-time inventory visibility and reducing checkout wait times by a third.

Metrics with prefix and suffix — dark mode

FinServ CorpFinancial Services

FinServ Corp achieves record returns with data-driven insights

$2.4MAnnual savings
99.9%Uptime achieved
3×Processing speed

FinServ Corp leveraged our analytics platform to streamline their reporting pipeline, cutting manual reconciliation time by 80%.

Quote without author title — dark mode

Acme CorpManufacturing

How Acme Corp cut operational costs by 40% in six months

Acme Corp is a global manufacturing leader with operations spanning 12 facilities across three continents.

“We went from quarterly fire drills to a smooth, predictable operation.”

Sarah Kim

Props

CaseStudyLayout

Prop

Type

Default

Description

children

React.ReactNode

—

Sub-components to compose (required)

colorScheme

"light" | "dark"

—

Force light or dark mode

className

string

—

Additional CSS classes on root

CaseStudyLayout.Hero

Prop

Type

Description

title

string

Page title (required)

companyLogo

ImageProps?

Optional company logo

backgroundImage

ImageProps?

Optional full-bleed background (adds dark overlay)

industryTag

string?

Optional industry pill badge

CaseStudyLayout.Metrics

Prop

Type

Description

metrics

MetricItem[]

Array of { value, label, prefix?, suffix? } (required)

CaseStudyLayout.Body

Prop

Type

Description

children

React.ReactNode

Prose content (required)

CaseStudyLayout.Quote

Prop

Type

Description

quote

string

Blockquote text (required)

authorName

string

Author name (required)

authorTitle

string?

Optional role/title after the author name

Notes

  • CaseStudyLayout.Body applies Tailwind Typography — ensure @tailwindcss/typography is installed.
  • backgroundImage on the hero automatically adds a .dark wrapper and a semi-transparent overlay for text legibility.
  • Dark mode: pass colorScheme="dark" or place inside a .dark ancestor.

Props

NameTypeDefaultRequiredDescription
colorSchemeenum—No
classNamestring—No
titlestring—Yes
companyLogoImageProps—No
backgroundImageImageProps—No
industryTagstring—No
headingLevelenumh1Noh1 when the layout IS the page surface (default); h2 when embedded under a page h1 (spec 007 D7).
metricsMetricItem[]—Yes
quotestring—Yes
authorNamestring—Yes
authorTitlestring—No