Skip to content

FAQ

FAQ Split

A heading and lead, then a portrait photo beside questions that open on their own.

Layout and motion from the Findit template — see it in context

Installation

$ npx shadcn@latest add https://framebrick.co/r/blocks/faq-split.json

Usage

import { FaqSplit } from "@/components/faq-split";

<FaqSplit
  title="Frequently asked questions"
  image={{ src: "/team/agent.jpg", alt: "Our lead agent" }}
  items={[{ question: "How do I start?", answer: "Book a free consultation." }]}
/>

Props

PropTypeDefaultDescription
labelstringFAQSmall muted line above the heading.
title / leadstring—Section heading (h2) and the text under it (up to 32rem).
image{ src, alt }—Portrait photo at a 0.726 ratio.
items{ question, answer }[]6 questionsRows; questions are buttons inside h3.
classNamestring—Classes for the <section>.
  • The photo sits above the questions below 768px and takes 35% of the row beside them from 768px.
  • The first question starts open; every row opens on its own (accordion-list, spring bounce 0, 0.4s). Rows don't dim — the questions stay readable.

AI prompt

Paste into v0, Lovable, Bolt or Claude to rebuild this block in your own project.

Create a React + Tailwind CSS + Motion block called FaqSplit.
- <section className="py-(--section-y)">, container mx-auto max-w-(--container) px-(--gutter), column gap-14 (md:gap-12).
- Title: a small muted label and an h2 (font-heading text-h2 semibold tracking-tight), then a muted lead up to max-w-lg.
- Content: stacked below 768px (gap-12); from 768px a row, items-start: a portrait photo (aspect 0.726, rounded-xl, 35% wide) and the
  questions (flex-1, lg:py-8): divided rows, each a button inside an h3 with the question (text-lead font-medium) and a plus that
  turns 45° when open; aria-expanded / aria-controls; several can be open; the first starts open; height 0 → auto with a spring
  (bounce 0, 0.4s) and the answer fading in.
- Only shadcn variables and block tokens; plain <img> with alt text.

Be the first to know

Get new templates and components first

One short email when we release a template or a free component. No spam — unsubscribe anytime.

We use your email only for Framebrick updates. Privacy policy