Interactive Playground
Experiment with every Accordion and AccordionPanel prop live -- toggle multiple mode, switch variants and sizes, and edit each panel's header, icon, and disabled state. Click a panel header below to drive v-model directly.
Basic Usage
Manages a single active collapsible panel using a modern defineModel directive.
Multiple Mode
Bind an array to the model value and attach the multiple boolean prop to open multiple layout containers concurrently.
Sizing Scales
Pass the prefix-safe size property (xs, sm, md, lg, xl) to compress or expand structural layouts cleanly.
Visual Variants: Side-by-Side Comparison
Modify the outer boundaries using the variant mapping property. The differences are most apparent when managing multiple stacked panels.
Design Tip: Use default or filled for tight, data-heavy sidebars where vertical space is limited. Use separated for main page settings or forms where you want each section to feel like a distinct, floating card.
Advanced Custom Slots
Bypass traditional prop boundaries entirely with targeted layout slot injections.