Collapsible

This content is visible by default and can be toggled.
Attribute Type Documentation Default Value
Required id * :string
open :boolean false
appearance :string

Icon at the end of the trigger: daisyUI's collapse-arrow or collapse-plus.

class :any
rest :global
Required trigger * :slot
<:trigger>Toggle details</:trigger>
Required inner_block * :slot
<div style="padding: 0.75rem 0; font-size: 0.875rem; color: var(--exo-muted-foreground);">This content is visible by default and can be toggled.</div>