The classic single-column FAQ: a centred serif heading that settles in word by word, a ruled accordion with serif questions and plain answers, and a closing line with a sliding-marker pill for the question that is not on the list.
A centred FAQ in a single narrow column: heading over a single-open accordion, closed by one line and a pill for anything that is still unanswered.
Upgrade to Pro
Pro blocks install through the shadcn CLI with your license key and ship their full source. Docs and live previews stay open to everyone, so you can read every block's details first.
Swap YOUR_EMAIL and YOUR_KEY for the email and license key on your account. Find your license key on your account page.
Radix flavor
npx shadcn add "https://ui.beste.co/r/faq95?email=YOUR_EMAIL&license_key=YOUR_KEY"Base UI flavor
npx shadcn add "https://ui.beste.co/r-base/faq95?email=YOUR_EMAIL&license_key=YOUR_KEY"This installs the block to components/beste/block/faq95.tsx, the shadcn accordion primitive it is built on, and the button22 sliding-marker pill and the text1 word stagger it uses.
The installed file exports faq95Demo alongside the block: the exact props behind the preview above. Spread it to get a working FAQ section in one line.
import { Faq95, faq95Demo } from "@/components/beste/block/faq95";
export default function Page() {
return <Faq95 {...faq95Demo} />;
}Then replace the demo with your own props. Written out, a trimmed setup looks like this:
import { Faq95 } from "@/components/beste/block/faq95";
export default function Page() {
return (
<Faq95
eyebrow="Good to know"
heading="Questions, answered plainly."
items={[
{ question: "How long is a session?", answer: "Sixty minutes as standard, seventy-five for couples." },
{ question: "Can I cancel or move a session?", answer: "Yes, with a day's notice, for free." },
]}
closing="Still wondering about something?"
button={{ label: "Ask us directly", href: "mailto:hello@beste.co", tone: "outline" }}
/>
);
}| Prop | Type | Default | Description |
|---|---|---|---|
eyebrow | string | – | Small-caps line above the heading |
heading | string | – | Section heading, rendered as an h2 through Text1 |
items | FaqItem[] | [] | Questions and answers, in the order given |
closing | string | – | Line under the accordion |
button | ActionButton | – | Pill action under the closing line |
className | string | – | Extra classes for the outer <section> |
type FaqItem = {
question: string;
answer: string;
};
type ActionButton = {
label: string;
href: string;
tone?: "primary" | "light" | "dark" | "outline";
};max-w-3xl, so questions and answers keep a comfortable measure without needing a second column to hold them in.type="single" with collapsible, so one answer is open at a time and the open one can be closed again.faq95-0, faq95-1), so duplicate questions never collide on the same accordion value.hover:no-underline overrides the shadcn trigger default, which would otherwise underline a serif question on hover.closing or button is given, so the section can end cleanly on its last answer.faq97
An FAQ sorted by topic: pill tabs under a centred serif heading that settles in word by word switch between groups, each blurring in a ruled accordion of serif questions, with a sliding-marker pill beneath.
faq94
A split FAQ: a sticky column with an eyebrow, a serif heading that settles in word by word, an intro and a pill action, beside a ruled accordion whose serif questions open to calm, plain answers.