Skip to content
Block

FAQ Section

A two-column FAQ built on the animated accordion, with a sticky heading column.

Frequently asked questions

Answers to the things teams ask before adopting the library. Anything missing? Ask us directly.

Installation

The CLI installs the block together with Animated Accordion and Blur Fade from this registry.

terminal
npx shadcn@latest add https://ui.thilina.dev/r/faq-section.json

Usage

app/page.tsx
import { FaqSection } from "@/components/blocks/faq-section";

export default function Page() {
  return <FaqSection />;
}

Questions live in the FAQS array at the top of the file. The layout is a two-column grid on large screens with the heading column sticky, so the intro and contact link stay in view while the reader scrolls the answers.

Accessibility

Inherits the animated accordion's Radix semantics: button triggers, aria-expanded state, and arrow-key navigation between questions. Reduced motion gets instant open and close.

Command Palette

Search for a command to run...