Accordion
A vertical list of collapsible sections that can be opened and closed.
Importing
1
import { AccordionRoot, AccordionItem } from '@infinityfx/fluid';Usage
Disabled item
API reference
AccordionRoot Props
variant?
'default' | 'neutral' | 'minimal'
'default'
multiple?
boolean
false
Allow multiple items to be open at the same time.
AccordionItem Props
label?
React.ReactNode
The label shown in the accordion item header.
defaultOpen?
boolean
false
disabled?
boolean
false