AccordionItem has a clickable title and hidden content that appears on expand.
Basic Usage
Default Open
Usedefault_open_items to expand items when the accordion first renders. Pass an index or title.
You can also assign a stable value to items and reference them by name, which is useful when item order might change:
Multiple Open
Setmultiple=True to allow more than one section open at a time.
API Reference
Accordion Parameters
Initially expanded item(s). Pass an index to select by position, or a string to match by title.
Allow multiple items to be open simultaneously.
Whether the open item can be collapsed.
Additional Tailwind CSS classes.
Protocol Reference
Accordion
AccordionItem