Staaarter

Case Study Long Form

Long-form testimonial section with two to three paragraphs of quote/narrative text, an avatar attribution, and a three-item results stat row beneath. Good for a dedicated case-study page or a deep-dive customer story section.

By Staaarter Team
Testimonials
Docs
Live preview

Docs

Installation

A real shadcn registry command, not a copy-paste stand-in: it fetches this block plus its avatar, avatar-initials dependencies and any missing npm packages, and installs them straight into your project.

npx shadcn add https://staaarter.com/r/case-study-long-form.json

Prefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/testimonials/testimonial9.tsx instead.

Usage

The file also exports testimonial9Demo, the exact props behind the preview above. Spread it to get a working section in one line, then replace it with your own data.

import { Testimonial9, testimonial9Demo } from "@/components/blocks/testimonials/testimonial9";

export default function Page() {
  return <Testimonial9 {...testimonial9Demo} />;
}

Props

PropTypeDefaultDescription
eyebrowstringundefinedSmall label above the heading.
headingReactNodeundefinedSection heading, typically the case study's headline result.
quoteParagraphsstring[]noneOne or more paragraphs of quote/narrative text, rendered in order.
namestringnoneAttributed person's name.
rolestringnoneAttributed person's role.
companystringundefinedAttributed person's company, appended after the role when set.
avatar{ src: string; alt: string }undefinedOptional photo; falls back to initials.
resultsResultStat[][]Mini-stat row beneath the quote, e.g. metric label and value.
classNamestringnoneExtra classes for the outer section element.

Types

type ResultStat = {
  label: string;
  value: string;
};

Behavior notes

  • Fully static, server-rendered section with no interactivity.
  • The first quote paragraph is styled slightly bolder than the rest to read as the pull-quote lead-in; this is a purely visual distinction, not a separate prop.