Examples
Default (Single, Collapsible)
Controlled Mode
All States (Matrix)
Header Variants (Matrix)
Props
Accordion
Root container for an accordion interface. Manages the expand/collapse state and coordinatesAccordionItem, AccordionTrigger, and AccordionContent.
Built on Radix UI Accordion.
AccordionContent
Renders the collapsible content panel for anAccordionItem. Animates open and closed.
AccordionItem
A single collapsible section within anAccordion. Contains an AccordionTrigger and AccordionContent.
AccordionTrigger
An interactive button that toggles the visibility of its associatedAccordionContent panel.
Leading avatar shown before the title, for headers representing a person or account. Pass an
Avatar sized to 24.Trailing indicator icon. Defaults to
ChevronDownIcon (rotates when open). Pass null to suppress it.Exported types
Also exported from@fanvue/ui: AccordionContentProps, AccordionItemProps, AccordionProps, AccordionTriggerProps.
Setup: Installation · Theming