Web InnoventixFreeCode

FAQ With Side Heading And CTA

Original · free

A split layout pairing a sticky heading and contact call-to-action card on the left with a native accordion list of questions on the right.

byWeb InnoventixReact + Tailwind
accordionctasplit-layoutsticky
Open

Copy prompt gives Claude Code, Cursor or v0 a ready-to-paste prompt that recreates this exact component.

npx shadcn@latest add https://webinnoventix.com/r/faq-side-heading-cta.json
faq-side-heading-cta.tsx
const faqs = [
  {
    q: "How do you keep pricing so simple?",
    a: "One flat rate per seat covers every feature. There are no hidden add-ons, no usage meters and no surprise line items when your bill arrives.",
  },
  {
    q: "Can I try the paid features first?",
    a: "Every account starts with a fourteen day trial of the full plan. When it ends you simply choose whether to continue, with nothing charged unless you opt in.",
  },
  {
    q: "What sort of onboarding help do you offer?",
    a: "Smaller teams get guided tutorials and templates, while larger accounts are paired with a specialist who helps migrate data and train the team.",
  },
  {
    q: "How often do you ship improvements?",
    a: "We release small updates most weeks and share a public roadmap so you can see what is coming and vote on the ideas that matter to you.",
  },
];

export default function FaqSideHeadingCta() {
  return (
    <section className="bg-white px-6 py-16 dark:bg-zinc-950 md:py-24">
      <div className="mx-auto grid max-w-6xl gap-12 lg:grid-cols-[minmax(0,22rem)_1fr] lg:gap-16">
        <div className="lg:sticky lg:top-16 lg:self-start">
          <p className="text-sm font-semibold uppercase tracking-widest text-rose-600 dark:text-rose-400">
            Support
          </p>
          <h2 className="mt-3 text-balance text-3xl font-bold tracking-tight text-zinc-900 sm:text-4xl dark:text-white">
            Frequently asked questions
          </h2>
          <p className="mt-4 text-lg leading-relaxed text-zinc-600 dark:text-zinc-400">
            Cannot find what you are looking for? Our team reads every message and is happy to help you decide.
          </p>

          <div className="mt-8 rounded-2xl border border-zinc-200 bg-zinc-50 p-6 dark:border-zinc-800 dark:bg-zinc-900/50">
            <div className="flex items-center gap-3">
              <span className="grid h-10 w-10 place-items-center rounded-full bg-rose-600/10 text-rose-600 dark:text-rose-400">
                <svg className="h-5 w-5" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" aria-hidden>
                  <path strokeLinecap="round" strokeLinejoin="round" d="M4 5h16v12H7l-3 3V5z" />
                </svg>
              </span>
              <div>
                <p className="text-sm font-semibold text-zinc-900 dark:text-white">Still have questions?</p>
                <p className="text-sm text-zinc-500 dark:text-zinc-400">We usually reply within a few hours.</p>
              </div>
            </div>
            <a
              href="#"
              className="mt-5 flex w-full items-center justify-center rounded-lg bg-rose-600 px-4 py-2.5 text-sm font-semibold text-white shadow-sm transition hover:bg-rose-500"
            >
              Get in touch
            </a>
          </div>
        </div>

        <div className="divide-y divide-zinc-200 dark:divide-zinc-800">
          {faqs.map((item) => (
            <details key={item.q} className="group py-5 first:pt-0">
              <summary className="flex cursor-pointer list-none items-center justify-between gap-4 text-left text-lg font-semibold text-zinc-900 marker:content-none dark:text-white">
                <span>{item.q}</span>
                <span
                  aria-hidden
                  className="grid h-7 w-7 shrink-0 place-items-center rounded-md bg-zinc-100 text-zinc-500 transition group-open:bg-rose-600 group-open:text-white group-open:rotate-45 dark:bg-zinc-800 dark:text-zinc-400"
                >
                  <svg className="h-4 w-4" viewBox="0 0 20 20" fill="none" stroke="currentColor" strokeWidth="2">
                    <path strokeLinecap="round" d="M10 4v12M4 10h12" />
                  </svg>
                </span>
              </summary>
              <p className="mt-3 max-w-2xl text-[15px] leading-relaxed text-zinc-600 dark:text-zinc-400">
                {item.a}
              </p>
            </details>
          ))}
        </div>
      </div>
    </section>
  );
}

Dependencies

None — React + Tailwind only.

Licence

Built by Web Innoventix. Free for personal and commercial use, no attribution required.

Built by Web Innoventix

Need a custom interface, a full website, or SEO that gets you cited by AI? We design, build and rank it end to end.

Get a free quote

Similar components

Browse all →
Single Column FAQ Accordion

Single Column FAQ Accordion

Original

A centred single-column accordion where each question expands to reveal its answer using native details and summary, with an animated plus-to-cross toggle icon.

Two Column FAQ Accordion

Two Column FAQ Accordion

Original

A two-column grid of bordered accordion cards that lets visitors scan more questions at once, each disclosing its answer with a rotating chevron and no JavaScript.

FAQ Q And A Card Grid

FAQ Q And A Card Grid

Original

A responsive grid of numbered question-and-answer cards with every answer visible at once, so there is no accordion and nothing to expand.

Spotlight Hero

Spotlight Hero

Original

A centred hero with a soft radial spotlight, badge and dual call-to-action.

Split Hero

Split Hero

Original

A two-column hero pairing a headline and CTAs with a product mock and social proof.

Gradient Spotlight Hero

Gradient Spotlight Hero

Original

A minimal centred hero with a soft gradient-mesh backdrop, announcement pill and dual call-to-action buttons.

App Preview Hero

App Preview Hero

Original

A centred hero that pairs headline copy with a realistic product dashboard mock built entirely from markup, complete with browser chrome and a floating notification card.

Waitlist Capture Hero

Waitlist Capture Hero

Original

A dark, focused hero with an inline email capture form and avatar social proof, ready for pre-launch waitlists.

Image Backdrop Hero

Image Backdrop Hero

Original

A cinematic full-bleed hero with a layered image-style backdrop, overlaid left-aligned copy and a trusted-by logos strip.

Gradient Mesh Hero with Staggered Text Reveal

Gradient Mesh Hero with Staggered Text Reveal

Original

A full-screen hero pairing a drifting animated gradient-mesh backdrop with a word-by-word staggered blur-in headline and a logo marquee under the fold.

Typewriter Rotating Words Hero

Typewriter Rotating Words Hero

Original

A hero whose headline cycles through rotating words with a live typewriter caret over an animated grid backdrop, degrading to a gentle word swap when reduced motion is on.

Floating UI Cards Hero with Mouse Parallax

Floating UI Cards Hero with Mouse Parallax

Original

A hero with glassy floating UI cards that drift continuously and shift on mouse-parallax depth around a staggered centre headline.