Web InnoventixFreeCode

Two Column FAQ Accordion

Original · free

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.

byWeb InnoventixReact + Tailwind
accordiontwo-columncards
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-two-column.json
faq-two-column.tsx
const columns = [
  [
    {
      q: "What is included in the free tier?",
      a: "A single workspace, core features and enough storage to run a small project comfortably. There is no time limit and no card needed to begin.",
    },
    {
      q: "Can I invite people outside my company?",
      a: "Yes. Guests can be added to any shared space with view or comment access, and you decide exactly what each guest is allowed to see.",
    },
    {
      q: "How is my monthly bill calculated?",
      a: "You pay for the number of active seats in your workspace. Seats that stay unused for a full cycle are credited back automatically.",
    },
  ],
  [
    {
      q: "Do you have a mobile app?",
      a: "We offer apps for both major mobile platforms alongside the web version, and your work syncs across every device the moment you make a change.",
    },
    {
      q: "What happens to my data if I leave?",
      a: "You can export everything to open formats at any time. After you close an account we remove your data from live systems within thirty days.",
    },
    {
      q: "Is there a discount for non-profits?",
      a: "Registered charities and educational bodies receive a generous reduction on every paid plan. Reach out with proof of status and we will apply it.",
    },
  ],
];

export default function FaqTwoColumn() {
  return (
    <section className="bg-white px-6 py-16 dark:bg-zinc-950 md:py-24">
      <div className="mx-auto max-w-5xl">
        <div className="max-w-2xl">
          <h2 className="text-balance text-3xl font-bold tracking-tight text-zinc-900 sm:text-4xl dark:text-white">
            Good to know
          </h2>
          <p className="mt-4 text-lg text-zinc-600 dark:text-zinc-400">
            A quick run through the things people ask most often, sorted so you can scan both columns at a glance.
          </p>
        </div>

        <div className="mt-12 grid gap-x-10 gap-y-4 md:grid-cols-2">
          {columns.map((group, col) => (
            <div key={col} className="space-y-4">
              {group.map((item) => (
                <details
                  key={item.q}
                  className="group rounded-xl border border-zinc-200 bg-zinc-50/60 p-5 transition open:border-emerald-500/40 open:bg-white open:shadow-sm dark:border-zinc-800 dark:bg-zinc-900/40 dark:open:border-emerald-500/40 dark:open:bg-zinc-900"
                >
                  <summary className="flex cursor-pointer list-none items-start justify-between gap-4 text-left text-base font-semibold text-zinc-900 marker:content-none dark:text-white">
                    <span>{item.q}</span>
                    <svg
                      aria-hidden
                      className="mt-1 h-5 w-5 shrink-0 text-emerald-600 transition duration-200 group-open:rotate-180 dark:text-emerald-400"
                      viewBox="0 0 20 20"
                      fill="none"
                      stroke="currentColor"
                      strokeWidth="2"
                    >
                      <path strokeLinecap="round" strokeLinejoin="round" d="M5 8l5 5 5-5" />
                    </svg>
                  </summary>
                  <p className="mt-3 text-sm leading-relaxed text-zinc-600 dark:text-zinc-400">
                    {item.a}
                  </p>
                </details>
              ))}
            </div>
          ))}
        </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.

FAQ With Side Heading And CTA

FAQ With Side Heading And CTA

Original

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.

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.