Collapsible
Overview
Root collapsible component built on Reka UI's CollapsibleRoot.
Theme entry: Collapsible
Props
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| themeOverride | String|Object|Array | null | A partial theme object merged with the component's default theme; accepts a class string, class array, or theme object. | |
| class | import('vue').HTMLAttributes['class'] | undefined | Additional CSS classes to apply to the root element. | |
| modelValue | boolean | undefined | The controlled open state. | |
| defaultOpen | boolean | undefined | The default open state. | |
| disabled | boolean | undefined | Whether the collapsible is disabled. | |
| dir | string | undefined | The reading direction. | |
| as | string|object | undefined | The element or component to render as. | |
| asChild | boolean | false | When true, merges props onto the child element instead of rendering a wrapper. |
Slots
default
Scoped slot.
Events
| Name | Description |
|---|---|
update:modelValue | Emitted when the value changes. |
Source
client/lib/shell/collapsible/Collapsible.vue