Accordion

Initially Open This section starts open. Closed by Default Click to expand.
Attribute Type Documentation Default Value
id :any

HTML id attribute

class :any

Additional CSS classes

multiple :boolean

Allow multiple panels open at once

false
value :string

Comma-separated list of initially open item IDs

rest :global
Required item * :slot

Accordion item

Show slot attributes Hide slot attributes
Required value * :string

Unique item identifier

Required header * :string

Header text for this item

disabled :boolean

Disable this item

<:item value="faq1" header="Initially Open">This section starts open.</:item>
<:item value="faq2" header="Closed by Default">Click to expand.</:item>