Accordion

Examples

Single Accordion

Overriding Styles

Use the class options to override the styles on the accordion.

Title Slot

Pass components into the accordion title by using the slot title.

Options

Accordion

When true, only a single accordian item can be open at once.
Options:

Pass custom classes to control the styling of the accordion body. Supports tailwind classes.

AccordionItem

Required
The title of the accordion item. This will be displayed as the header.

Pass custom classes to control the styling of an accordion item. Supports tailwind classes.