Staaarter

Quote Style Cards

A grid of FAQ cards styled like editorial pull-quotes: each question is set in a large heading-font statement, with a large, faint Quote icon anchored in the top-right corner as a decorative flourish. The answer follows underneath in regular body copy.

By Staaarter Team
FAQ
Docs
Live preview

Docs

Installation

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

npx shadcn add https://staaarter.com/r/quote-style-cards.json

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

Usage

The file also exports faq32Demo, 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 { Faq32, faq32Demo } from "@/components/blocks/faq/faq32";

export default function Page() {
  return <Faq32 {...faq32Demo} />;
}

Props

PropTypeDefaultDescription
badgestring"FAQ"Small label shown above the heading.
headingstring"Questions worth asking"Section heading.
descriptionstring"The things prospective customers ask us most."Supporting copy under the heading.
items{ question: string; answer: string }[]noneFAQ cards.
classNamestringnoneExtra classes for the outer section element.

Behavior notes

  • Fully static: the Quote icon in each card's corner is purely decorative (aria-hidden), there is no accordion state, every answer is always visible, which is why this is a safe server component.