FAQs
FAQ accordion component with expandable/collapsible question-answer pairs. Only one question can be expanded at a time.Import
Props
Array of FAQ items with question and answer
Callback fired when FAQ item is clicked, receives item index
Custom styles for the container
FAQOption
Unique identifier for the FAQ item
Question text (always visible)
Answer text (visible when expanded)
Usage
Notes
- Only one FAQ can be expanded at a time
- Clicking an expanded FAQ collapses it
- Chevron icon indicates expanded/collapsed state (ChevronUp/ChevronDown)
- Hover effect adds underline to collapsed questions
- First question (index 0) is expanded by default
- Questions use medium weight text, answers use regular weight