Components
Accordion
A vertically stacked list of expandable items, perfect for organizing content.
React component accordion
not found in registry.
Make sure the component exists and the registry is up to date.
Installation
NPM packages are currently unstable and may cause issues. Use it at your own risk.
Usage
Examples
Multi Accordion
Custom Icon
Unstyled Accordion
Accordion Style Slots
Slot Name | Targeted Component | Purpose |
---|---|---|
base | Accordion | Applies styles to the root Accordion component. |
item | AccordionItem | Styles the individual accordion item container. |
triggerWrapper | AccordionTrigger | Styles the wrapper around the trigger. |
trigger | AccordionTrigger | Applies styles to the actual trigger element. |
icon | AccordionTrigger | Styles the icon inside the trigger (if any). |
contentWrapper | AccordionContent | Styles the wrapper around the accordion content. |
content | AccordionContent | Applies styles to the actual content element. |