Faq Section
blockAn 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.
npx shadcn@latest add @minidev/faq-sectionCode Free FAQ section blocks for React and Tailwind CSS v4: accessible accordions, two-column FAQ layouts and an animated FAQ with motion, ready for FAQPage structured data. MIT.
An FAQ section answers the objections that stop a signup, so it belongs near the pricing and the final call to action. The accordion keeps the page short; the two-column layout works when the answers are short enough to show at once.
The accordion is built on Base UI, so headings, buttons, expanded state and keyboard navigation follow the WAI-ARIA pattern without extra work.
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.
npx shadcn@latest add @minidev/faq-sectionCode An FAQ accordion where one answer opens at a time with an animated height transition. Triggers expose aria-expanded and motion is skipped when reduced.
npx shadcn@latest add @minidev/faq-accordion-motionCode It helps when the questions are the ones people actually search for. Add FAQPage structured data (the JSON-LD helper in this site does it) so search engines and AI assistants can read the pairs directly.