Staaarter

Split Photo Quote

Two-column split layout: a large photo fills one half, a large pull-quote and attribution fill the other. Stacks to a single column on mobile with the photo on top. Good for featuring one flagship customer story prominently.

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 media-slot dependencies and any missing npm packages, and installs them straight into your project.

npx shadcn add https://staaarter.com/r/split-photo-quote.json

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

Usage

The file also exports testimonial11Demo, 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 { Testimonial11, testimonial11Demo } from "@/components/blocks/testimonials/testimonial11";

export default function Page() {
  return <Testimonial11 {...testimonial11Demo} />;
}

Props

PropTypeDefaultDescription
imageMediaSlotImageundefinedLarge photo on one side; falls back to a placeholder when omitted.
quotestringnoneThe pull-quote text.
namestringnoneAttributed person's name.
rolestringnoneAttributed person's role.
companystringundefinedAttributed person's company, appended after the role when set.
classNamestringnoneExtra classes for the outer section element.

Behavior notes

  • Fully static, server-rendered section with no interactivity.
  • The photo column and quote column are equal-width and stack (photo first) below the sm breakpoint.