Case Study Spotlight

Featured case study highlight

Marketing BlockCase Studies

Overview

A centered promotional section for a featured case study. Supports an optional background image with a dark overlay, a company logo, one or more key metrics, and a CTA button.

Usage

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

Default

Full spotlight with company logo, headline, metrics, excerpt, and CTA button.

Acme Corp

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

40%Cost reduction
12Facilities automated
6moTime to ROI

Acme Corp adopted our platform to streamline procurement and warehouse workflows, eliminating manual steps across 12 facilities worldwide.

With background image

Pass backgroundImage to render a full-bleed image behind the section. A dark overlay is applied automatically and the logo is inverted for legibility.

TechCo

TechCo grows annual recurring revenue 3x with smarter onboarding

3xARR growth
48hTime to value

By integrating our analytics suite, TechCo's product team reduced time-to-value for new users from 14 days to under 48 hours.

When companyLogo is omitted, the section starts directly with the headline.

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

40%Cost reduction
12Facilities automated

Acme Corp adopted our platform to streamline procurement and warehouse workflows, eliminating manual steps across 12 facilities worldwide.

Without metrics

The metrics section is hidden when metrics is omitted.

Acme Corp

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

Acme Corp adopted our platform to streamline procurement and warehouse workflows, eliminating manual steps across 12 facilities worldwide.

Minimal

Only the required fields: headline, excerpt, and cta. No logo or metrics.

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

Acme Corp adopted our platform to streamline procurement and warehouse workflows, eliminating manual steps across 12 facilities worldwide.

CTA — outline variant

Set cta.variant to "outline" for a bordered button style.

Acme Corp

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

40%Cost reduction
12Facilities automated
6moTime to ROI

Acme Corp adopted our platform to streamline procurement and warehouse workflows, eliminating manual steps across 12 facilities worldwide.

CTA — ghost variant

Set cta.variant to "ghost" for a transparent button style.

Acme Corp

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

40%Cost reduction
12Facilities automated
6moTime to ROI

Acme Corp adopted our platform to streamline procurement and warehouse workflows, eliminating manual steps across 12 facilities worldwide.

Dark mode

Acme Corp

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

40%Cost reduction
12Facilities automated
6moTime to ROI

Acme Corp adopted our platform to streamline procurement and warehouse workflows, eliminating manual steps across 12 facilities worldwide.

Without logo — dark mode

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

40%Cost reduction
12Facilities automated

Acme Corp adopted our platform to streamline procurement and warehouse workflows, eliminating manual steps across 12 facilities worldwide.

Without metrics — dark mode

Acme Corp

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

Acme Corp adopted our platform to streamline procurement and warehouse workflows, eliminating manual steps across 12 facilities worldwide.

Minimal — dark mode

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

Acme Corp adopted our platform to streamline procurement and warehouse workflows, eliminating manual steps across 12 facilities worldwide.

CTA outline — dark mode

Acme Corp

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

40%Cost reduction
12Facilities automated
6moTime to ROI

Acme Corp adopted our platform to streamline procurement and warehouse workflows, eliminating manual steps across 12 facilities worldwide.

CTA ghost — dark mode

Acme Corp

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

40%Cost reduction
12Facilities automated
6moTime to ROI

Acme Corp adopted our platform to streamline procurement and warehouse workflows, eliminating manual steps across 12 facilities worldwide.

Background image — dark mode

TechCo

TechCo grows annual recurring revenue 3x with smarter onboarding

3xARR growth
48hTime to value

By integrating our analytics suite, TechCo's product team reduced time-to-value for new users from 14 days to under 48 hours.

Props

Prop

Type

Default

Description

headline

string

—

Main title text (required)

excerpt

string

—

Supporting description text (required)

cta

CTAButton

—

Call-to-action link (required)

companyLogo

ImageProps?

—

Optional company logo

metrics

{ value: string; label: string }[]?

—

Optional array of metric highlights with separators

backgroundImage

ImageProps?

—

Optional full-bleed background (forces dark overlay)

colorScheme

"light" | "dark"

—

Force light or dark mode

className

string

—

Additional CSS classes on root

CTAButton

Prop

Type

Default

Description

label

string

—

Button text (required)

href

string

—

Link destination (required)

variant

"default" | "outline" | "ghost"

"default"

Button style variant

Notes

  • When backgroundImage is provided, the component automatically wraps in <div className="dark"> and applies a semi-transparent overlay.
  • The company logo is automatically inverted (brightness-0 invert) when a background image is present.
  • Multiple metrics are displayed in a row with vertical separators between them.
  • The CTA variant prop maps to button styles: default (filled primary), outline (bordered), or ghost (transparent).
  • Dark mode: backgroundImage forces dark, or pass colorScheme="dark".

Props

NameTypeDefaultRequiredDescription
companyLogoImageProps—No
headlinestring—Yes
metricsCaseStudySpotlightMetric[]—No
excerptstring—Yes
ctaCTAButton—Yes
backgroundImageImageProps—No
colorSchemeenum—No
classNamestring—No