Faq Section

An FAQ section with a heading column and an accessible accordion: one answer open at a time, arrow key navigation, aria-expanded and smooth row animation.

src/registry/blocks/faq-section.tsx/r/faq-section.json

Installation#

bash
npx shadcn@latest add https://ui.minidev.pro/r/faq-section.json

Usage#

tsx
import { FaqSection } from "@/components/ui/faq-section"

export function Example() {
  return <FaqSection />
}

API reference#

FaqSection props
PropTypeDefault
eyebrowstring"FAQ"
titleReact.ReactNode"Questions, answered."
descriptionReact.ReactNode"Something else on your mind? Write t...
itemsFaq[]ITEMS
classNamestring-

Dependencies#

npm

lucide-react

Built from

No other MiniDev files
All Landing page sections for React and Tailwind