Collapse

Secondary colored border.
Tertiary colored border.
Accent colored card collapse.
Attribute Type Documentation Default Value
id :any

HTML id attribute

class :any

Additional CSS classes

open :boolean

Whether the collapse is initially open

false
disabled :boolean

Whether the collapse is disabled

false
variant :string

Visual style variant

color :string

Color variant for the trigger

size :string

Size variant

animation :string

Animation style for the content

speed :string

Transition speed

nested :boolean

Nested collapse with indent and left border

false
rest :global
Required trigger * :slot

Trigger element that toggles the collapse

[Multiple values]
Required content * :slot

Collapsible content area

[Multiple values]