Installation
npx shadcn@latest add @iconiq/faq-proProps
FaqPro
Searchable FAQ accordion with rounded cards, animated panels, query highlighting, and automatic expansion for filtered results.
itemsFaqProItem[]Required
searchPlaceholderstringDefault Search FAQs...
defaultOpenFirstbooleanDefault false
classNamestringSearch filters by question and answer text. The first matching row opens automatically while you type.
Only one FAQ panel can be open at a time. Clicking another item closes the previous one.
Matched substrings render inside a highlight mark in both the question and answer.
When the query is cleared, the list returns to the default open state controlled by defaultOpenFirst.
Registry bundle
Install the exact registry entry shown on the right when you want the component file and its declared runtime dependencies together.
Dependencies: @base-ui/react/accordion, motion, lucide-react.
This page documents the Base UI install only. FAQ Pro uses Base UI Accordion for single-open FAQ rows.
The generated registry file is /r/faq-pro.json.