# Customer Story Page

> A React case study page template: customer facts, results that count up, a story with pull quotes and a sticky company sidebar.

- Type: React template (Templates)
- Access: Pro (the source needs a Wingo UI Pro plan, see https://wingo-ui.com/pricing)
- Version: 1.1.0
- Install: `npx wingo-ui@latest add customer-story-page`
- Docs: https://wingo-ui.com/templates/customer-story-page

## Interaction

The breadcrumb leads back to /customers (a Back link on phones). The hero shows the Acme and Northwind lockup, the headline and summary, Talk to sales, Start for free and a Copy link button that copies the page address and confirms with a check. A wordmark panel sits beside the copy, and the industry, size, region and plan facts run under a hairline. The four key results roll up once when they scroll into view (still under reduced motion and in screenshots). The story reads in a 700px column: numbered Challenge, Solution and Results sections, check-marked points, the drawn sprint planning board with a caption and two pull quotes from Northwind's VP of Engineering. From 1024px the sidebar stays in view (a sidebar taller than the window sticks by its bottom edge, so Talk to sales stays reachable): the company card with facts, the four products used (each a link to /product/<x>), integrations and Talk to sales, then an In this story list that tracks the section you are reading and jumps to it. On phones the sidebar follows the story. Below come quotes from three Northwind engineers, three more story cards (each one link to /customers/<slug>) with All customer stories, and the closing band.

## Installation

```bash
npx wingo-ui@latest add customer-story-page
```

Pro item: run `npx wingo-ui@latest login` once with a Pro account. The CLI adds the files, their dependencies and a version record for updates.

With shadcn: `npx shadcn@latest add @wingo-ui/customer-story-page` (needs the @wingo-ui registry with your API key in components.json)

Files:

- `components/templates/customer-story-page.tsx`
- `components/templates/customer-story-page-data.ts`

npm dependencies: `npm i motion lucide-react`

Wingo UI dependencies (installed automatically):

- [Customers Page](https://wingo-ui.com/templates/customers-page) ([Markdown](https://wingo-ui.com/templates/customers-page.md))
- [Marketing Section](https://wingo-ui.com/components/marketing-section) ([Markdown](https://wingo-ui.com/components/marketing-section.md))
- [Marketing Header](https://wingo-ui.com/components/marketing-header) ([Markdown](https://wingo-ui.com/components/marketing-header.md))
- [Marketing Footer](https://wingo-ui.com/components/marketing-footer) ([Markdown](https://wingo-ui.com/components/marketing-footer.md))
- [Hero Section](https://wingo-ui.com/components/hero-section) ([Markdown](https://wingo-ui.com/components/hero-section.md))
- [Stats Section](https://wingo-ui.com/components/stats-section) ([Markdown](https://wingo-ui.com/components/stats-section.md))
- [Testimonials Section](https://wingo-ui.com/components/testimonials-section) ([Markdown](https://wingo-ui.com/components/testimonials-section.md))
- [CTA Section](https://wingo-ui.com/components/cta-section) ([Markdown](https://wingo-ui.com/components/cta-section.md))
- [Avatar](https://wingo-ui.com/components/avatar) ([Markdown](https://wingo-ui.com/components/avatar.md))
- [Breadcrumb](https://wingo-ui.com/components/breadcrumb) ([Markdown](https://wingo-ui.com/components/breadcrumb.md))
- [Button](https://wingo-ui.com/components/button) ([Markdown](https://wingo-ui.com/components/button.md))
- [Copy Button](https://wingo-ui.com/components/copy-button) ([Markdown](https://wingo-ui.com/components/copy-button.md))
- [Table Of Contents](https://wingo-ui.com/components/table-of-contents) ([Markdown](https://wingo-ui.com/components/table-of-contents.md))
- [Motion presets](https://wingo-ui.com/components/motion) ([Markdown](https://wingo-ui.com/components/motion.md))
- [Navigation](https://wingo-ui.com/components/navigation) ([Markdown](https://wingo-ui.com/components/navigation.md))
- [Tones](https://wingo-ui.com/components/tones) ([Markdown](https://wingo-ui.com/components/tones.md))
- [UIProvider](https://wingo-ui.com/components/ui-config) ([Markdown](https://wingo-ui.com/components/ui-config.md))

## Usage

```tsx
// app/(marketing)/customers/[slug]/page.tsx
import Link from "next/link"
import { notFound } from "next/navigation"
import { CustomerStoryPage } from "@/components/templates/customer-story-page"
import { CASE_STUDY_SAMPLE } from "@/components/templates/customer-story-page-data"

const STORIES = { [CASE_STUDY_SAMPLE.slug]: CASE_STUDY_SAMPLE }

export default async function CustomerStoryRoute({ params }: { params: Promise<{ slug: string }> }) {
  const { slug } = await params
  const story = STORIES[slug]
  if (!story) notFound()
  return <CustomerStoryPage story={story} linkComponent={Link} />
}
```

## Props

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `design?` | `"classic" \| "bold" \| "editorial"` | `"classic"` | The whole page's look. classic follows the layout props; bold: an aurora backdrop with tinted bands, a pill header, heavy display type, an inverted wordmark panel, fact tiles, an inverted numbers band, big pull quotes on tinted cards, an inverted sidebar card, rounder story cards, a closing image band and a wordmark footer; editorial: a soft backdrop, a centered solid header, huge start-aligned type with no panel or product shot, a heavy rule over the facts, numbers under hairlines, pull quotes between heavy rules, a ruled sidebar and story rows, a single rotating quote and a plain closing line. statsProps, testimonialsProps, ctaProps, headerProps and footerProps still win. |
| `background?` | `"plain" \| "soft" \| "glow" \| "aurora" \| "grid" \| "dots"` | `"glow"` | The main background: plain is the bare page color; the others tint the page and add a glow, an aurora, a grid or dots over the first screen. A design picks its own unless you set one. Classic uses glow, bold aurora, editorial soft. |
| `backgroundColor?` | `string` | `"oklch(0.62 0.14 275)"` | The tint and glow color of the main background; defaults to the tone color when tone is not neutral. |
| `bandBackground?` | `"muted" \| "tinted" \| "gradient" \| "dots"` | `"muted"` | The secondary background of the alternating bands. Cards, fields and tiles inside a band are lifted one step above it, so they never share its color. |
| `bandColor?` | `string` | `"oklch(0.62 0.14 275)"` | The tint of tinted and gradient bands; defaults to backgroundColor. |
| `story?` | `CaseStudy` | `"CASE_STUDY_SAMPLE"` | { slug, company, icon?, wordmarkClassName?, headline, summary, about, customerSince?, heroFacts, facts, stats, sections, products, integrations, href? }. sections are { id, title, lead?, paragraphs, points?, quote?, shot? }; the one with shot: true shows the product shot. |
| `moreStories?` | `CustomerStory[]` | `"CUSTOMER_STORIES"` | The cards under the story (the customers page's stories); the current slug is left out. |
| `industries?` | `CustomerFilterOption[]` | `"CUSTOMER_INDUSTRIES"` | { value, label } names for the industry on each card. |
| `testimonials?` | `Testimonial[]` | `"CASE_STUDY_TESTIMONIALS"` | The quotes band: three Northwind engineers. |
| `productShot?` | `ReactNode` | `"<CustomerStoryShot />"` | Replaces the drawn sprint planning board (a screenshot, a video); null hides it. |
| `labels?` | `Partial<CustomerStoryPageLabels>` | `"DEFAULT_CUSTOMER_STORY_PAGE_LABELS"` | Every visible string: breadcrumb, hero actions, sidebar headings, shot caption, section copy. |
| `headerProps?` | `Partial<MarketingHeaderProps>` |  | Passed to MarketingHeader (announcement, items...). |
| `footerProps?` | `Partial<MarketingFooterProps>` |  | Passed to MarketingFooter. |
| `statsProps?` | `Partial<StatsSectionProps>` |  | Passed to the key results StatsSection, spread last. |
| `testimonialsProps?` | `Partial<TestimonialsSectionProps>` |  | Passed to the quotes TestimonialsSection, spread last. |
| `ctaProps?` | `Partial<CtaSectionProps>` |  | Passed to the closing CtaSection, spread last. |
| `customersHref?` | `string` | `"/customers"` | Where the breadcrumb and All customer stories go; story cards link to <customersHref>/<slug>. |
| `statsVariant?` | `"cards" \| "divided" \| "plain"` | `"cards"` | The key results: raised cards, numbers under a hairline or plain numbers. Applies to the classic design. |
| `testimonialsLayout?` | `"featured" \| "grid" \| "quote" \| "carousel"` | `"featured"` | The quotes band: one big quote and two small, a grid, one quote at a time, or a swipeable rail. Applies to the classic design. |
| `ctaVariant?` | `"inverted" \| "soft" \| "split"` | `"inverted"` | The closing band: solid, gray, or copy beside the actions. Applies to the classic design. |
| `cardVariant?` | `"raised" \| "flat"` | `"raised"` | More stories cards on a raised surface or a flat gray tile. Applies to the classic and bold designs. |
| `moreCount?` | `number` | `3` | How many story cards (1 to 6). |
| `tone?` | `"neutral" \| "brand" \| "success" \| "warning" \| "danger" \| "info"` | `"neutral"` | Quote rules, point checks, product icons, the panel glow, the shot's bars and the active In this story entry. |
| `ctaTone?` | `"neutral" \| "brand" \| "success" \| "warning" \| "danger" \| "info"` | `"neutral"` | Talk to sales in the hero and sidebar, the header's Get started and the closing band. |
| `showPanel?` | `boolean` | `true` | The wordmark panel beside the hero copy. |
| `showStats?` | `boolean` | `true` | The key results that count up. |
| `showProductShot?` | `boolean` | `true` | The drawn product shot in the solution section. |
| `showSidebar?` | `boolean` | `true` | The company sidebar; without it the story is a single column. |
| `stickySidebar?` | `boolean` | `true` | The sidebar stays in view while the story scrolls (from 1024px); when it is taller than the window it sticks by its bottom edge. |
| `showToc?` | `boolean` | `true` | The In this story jump list under the sidebar card (from 1024px). |
| `showTestimonials?` | `boolean` | `true` | The quotes band. |
| `showMoreStories?` | `boolean` | `true` | The More stories cards. |
| `showCta?` | `boolean` | `true` | The closing call to action. |
| `header?` | `boolean` | `true` | The sticky marketing header; turn it off when the page sits in a site layout. |
| `footer?` | `boolean` | `true` | The marketing footer. |
| `animateIn?` | `boolean` | `true` | The hero rises in once on mount and the results count up; off in thumbnails and under reduced motion. |
| `locale?` | `string` | `"en-US"` | Number formatting for the results; falls back to UIProvider's locale. |
| `linkComponent?` | `(props: LinkComponentProps) => ReactNode` | `"<a>"` | The router link for every link (next/link in an app); default the LinkProvider's. |
| `className?` | `string` |  | Classes for the root. |
| `classNames?` | `Partial<Record<CustomerStoryPageSlot, string>>` |  | Classes for header, hero, breadcrumb, title, panel, facts, stats, body, article, section, quote, shot, sidebar, toc, aside, testimonials, more, card, cta and footer. |

## Parts

### CUSTOMER_STORY_PAGE_DESIGNS (constant)

The design names, classic first: ["classic", "bold", "editorial"].

### CustomerStoryPageDesign (type)

"classic" | "bold" | "editorial".

### CustomerStoryShot (component)

The drawn sprint planning board in a browser frame: capacity bars per squad, sprint issues and a Ready for release column that folds away in narrow containers. Takes div props.

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `url?` | `string` | `"app.acme.com/northwind/sprints/42"` | The address in the browser bar. |
| `tone?` | `Tone` | `"neutral"` | The capacity bars, the active tab and the Start sprint chip. |
| `label?` | `string` |  | The spoken description of the picture. |

### CASE_STUDY_SAMPLE (constant)

The Northwind case study: planning time down 42%, four results, three sections with two pull quotes from Rachel Kim, four products and five integrations.

### CASE_STUDY_TESTIMONIALS (constant)

Three quotes from Northwind engineers for the quotes band.

### DEFAULT_CUSTOMER_STORY_PAGE_LABELS (constant)

The English strings.

### CaseStudy (type)

The page's content: company and wordmark, headline, summary, facts, results, sections, products and integrations.

### CaseStudySection (type)

{ id, title, lead?, paragraphs, points?, quote?, shot? }.

### CaseStudyQuote (type)

{ text, name, role, avatar? }.

### CaseStudyFact (type)

One customer fact in the sidebar, like Industry or Company size: { label, value }.

### CaseStudyProduct (type)

{ name, description, icon?, href }.

### CustomerStoryPageLabels (type)

Every visible string.

### CustomerStoryPageSlot (type)

The classNames keys.

### CustomerStoryStatsVariant (type)

"cards" | "divided" | "plain".

### CustomerStoryTestimonialsLayout (type)

"featured" | "grid" | "quote" | "carousel".

### CustomerStoryCtaVariant (type)

"inverted" | "soft" | "split".

### CustomerStoryShotProps (type)

Props of CustomerStoryShot.

### CustomerStoryPageProps (type)

Props of CustomerStoryPage.

## Examples

- **Bold design**: design="bold": heavy type, an inverted wordmark panel and sidebar, a numbers band and big pull quotes.
- **Editorial design**: design="editorial": display type, heavy rules, numbers under hairlines and pull quotes between rules.
- **Brand tone**: Orange quote rules, checks, product icons and actions, with the results as plain numbers and a split closing band.
- **Inside a site layout**: No header, footer, panel or sidebar: one reading column, a quote grid and two flat story cards.

## See also

- [Customers Page](https://wingo-ui.com/templates/customers-page) ([Markdown](https://wingo-ui.com/templates/customers-page.md))
- [Testimonials Section](https://wingo-ui.com/components/testimonials-section) ([Markdown](https://wingo-ui.com/components/testimonials-section.md))
- [Stats Section](https://wingo-ui.com/components/stats-section) ([Markdown](https://wingo-ui.com/components/stats-section.md))
- [Blog Post Page](https://wingo-ui.com/templates/blog-post-page) ([Markdown](https://wingo-ui.com/templates/blog-post-page.md))
- [Table Of Contents](https://wingo-ui.com/components/table-of-contents) ([Markdown](https://wingo-ui.com/components/table-of-contents.md))

---

Canonical: https://wingo-ui.com/templates/customer-story-page
More components: https://wingo-ui.com/components · Index for agents: https://wingo-ui.com/llms.txt
