Accordion

You can open and close this item.
Attribute Type Documentation Default Value
Required id * :string
class :any
variant :string
type :string "single"
collapsible :boolean true
joined :boolean false
rest :global
Required item * :slot
Show slot attributes Hide slot attributes
Required title * :string
open :boolean
disabled :boolean
<:item title="This item works normally" open>You can open and close this item.</:item>
<:item title="This item is disabled" disabled>You should not be able to see this.</:item>
<:item title="This also works">Another normal item.</:item>