Skip to content

Accordion ​

Last updated

Demo ​

accordion/demo.vue

Accordion uses Reka UI for expansion, keyboard navigation and single/multiple mode. Tokens define appearance and height transitions.

Props ​

PropDescriptionTypeDefault
v-modelExpanded itemsstring | string[]—
itemsItems { value, title, content?, disabled? }AccordionItemData[]—
typeSingle / multiplesingle | multiplesingle
collapsibleAllow all items to collapse in single modebooleantrue

Slots ​

Override an item's content with a slot named after its value.

Readonly item arrays are supported. A fully collapsed single accordion has value undefined; multiple mode uses a string array. Allow collapsed state in the consumer. Arrows and Home/End move focus between headings, skipping disabled items.