Staaarter

Objection Cards

An always-open FAQ that states four buying worries as quoted headings in a hairline matrix of cards. Each card answers in full, then closes on a rule and a single line of proof, like a stat or a customer name.

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

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

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

Usage

The file also exports faq83Demo, 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 { Faq83, faq83Demo } from "@/components/blocks/faq/faq83";

export default function Page() {
  return <Faq83 {...faq83Demo} />;
}

Props

PropTypeDefaultDescription
eyebrowstring"FAQ"Small label above the heading.
headingstring"The questions you're actually asking"Section heading.
descriptionstringnoneSupporting copy under the heading.
cardsObjectionCard[]noneObjection cards rendered in a 2x2 hairline matrix; expects exactly 4 entries for the matrix borders to line up.
classNamestringnoneExtra classes for the outer section element.

Types

type ObjectionCard = {
  worry: string;
  answer: string;
  proof: string;
};

Behavior notes

  • All four cards are always fully expanded; there is no click-to-reveal state anywhere in this block.
  • The worry field renders as a large quoted blockquote-style statement, styled to read as the visitor's own words being stated back to them.
  • Hairline border placement (border-r on the left column, border-b on the top row) is positional and assumes exactly 4 cards in a 2x2 layout; passing a different count will misalign the matrix.
  • Each card's proof line sits below a border-t rule and is styled in the primary color to stand out from the answer paragraph above it.