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.
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.jsonPrefer 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
| Prop | Type | Default | Description |
|---|---|---|---|
| eyebrow | string | "FAQ" | Small label above the heading. |
| heading | string | "The questions you're actually asking" | Section heading. |
| description | string | none | Supporting copy under the heading. |
| cards | ObjectionCard[] | none | Objection cards rendered in a 2x2 hairline matrix; expects exactly 4 entries for the matrix borders to line up. |
| className | string | none | Extra 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.
More FAQ Blocks
View all →collapsible-accordion
Collapsible Accordion
Stacked cards with expandable sections, for full-length answers in a compact format.
open-list-layout
Open List Layout
Questions with answers displayed directly below in a simple always-open list.
three-column-grid
Three Column Grid
Q&A pairs arranged in a responsive grid layout, always open.
tabbed-categories
Tabbed Categories
Sidebar navigation with category tabs and an accordion of that category's questions.
searchable-accordion
Searchable Accordion
Search input that filters accordion items in real-time by question and answer text.
grouped-sections
Grouped Sections
FAQs organized into titled sections, each with its own independent accordion below it.