A vertically stacked set of interactive headings that each reveal an associated section of content.
Loading...
If you set type
to multiple
then accordion will allow multiple items to expend the same time
Loading...
If you use disabled
prop to AccordionItem
then that item will disabled
Loading...
Change icon
attribute in AccordionTrigger
to change icon for specific trigger
Loading...
If you use value
and onValueChange
attribute to Accordion
then it will control item states
Loading...
Prop | Type | Default |
---|---|---|
variant | underline outline soft | underline |
Prop | Type | Default |
---|---|---|
icon | ReactNode | <ChevronDownIcon /> |