Staaarter

Good Fit Qualifier

A qualifying FAQ that sets a checked good-fit column against a crossed not-for-you column, then answers the three questions that follow from them on two-column hairline rows.

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/good-fit-qualifier.json

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

Usage

The file also exports faq88Demo, 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 { Faq88, faq88Demo } from "@/components/blocks/faq/faq88";

export default function Page() {
  return <Faq88 {...faq88Demo} />;
}

Props

PropTypeDefaultDescription
badgestringnoneSmall eyebrow label above the heading.
headingstringnoneSection heading.
descriptionstringnoneSection intro text.
goodFitLabelstring"You're a good fit if"Heading over the checked qualifier column.
notForYouLabelstring"Probably not for you if"Heading over the crossed qualifier column.
goodFitQualifierEntry[]noneCheckmarked list items in the good-fit column.
notForYouQualifierEntry[]noneX-marked list items in the not-for-you column.
qa[QaEntry, QaEntry, QaEntry]noneExactly three question/answer rows rendered below the qualifier columns, question and answer side by side per row.
classNamestringnoneExtra classes for the outer section element.

Types

type QualifierEntry = {
  text: string;
};

type QaEntry = {
  question: string;
  answer: string;
};

Behavior notes

  • Plain server component: both qualifier columns and all three Q&A rows are always fully rendered, there is no interactive state anywhere in this block.
  • goodFit items use a Check icon in text-primary; notForYou items use an X icon in text-muted-foreground, matching the checked-vs-crossed framing without any literal green/red color.
  • qa is typed as a fixed 3-tuple because the brief calls for exactly the three questions that follow from the qualifier columns above; each row lays the question and answer side by side in a 2-column grid on a shared hairline divider.