Toggle Sidebar B
header.lightDarkMode D

Collapsible

Show/hide a single block of content. A simpler primitive than Accordion when you do not need multiple panels or item-level state.

Default

Single togglable block.

Show shipping details

Controlled

Drive open state externally with v-model:open.

Disabled

Set disabled to lock the block so the trigger cannot toggle it.

Locked section

API Reference

Props, events, and slots for each sub-component.

Collapsible

Props

PropTypeDefaultDescription
openbooleanfalseOpen state. Supports v-model:open.
defaultOpenbooleanfalseInitial open state when v-model is not used.
disabledbooleanfalsePrevent toggling.

Events

EventDescription
update:openFires when the open state changes. Enables v-model:open.

Slots

SlotDescription
defaultScoped slot exposing { open } alongside the trigger and content.

CollapsibleTrigger

Props

PropTypeDefaultDescription
asChildbooleanfalseMerge props onto the child element. Forwards to reka-ui CollapsibleTrigger.

Slots

SlotDescription
defaultThe element that toggles the panel.

CollapsibleContent

Props

PropTypeDefaultDescription
forceMountbooleanfalseKeep content mounted while collapsed. Forwards to reka-ui CollapsibleContent.

Slots

SlotDescription
defaultContent revealed when open.