---
url: "https://vueda.dev/v3/reference/api/vue/Accordion.md"
title: "Accordion"
---

# Accordion

## Overview

Root accordion component built on Reka UI's AccordionRoot.

Theme entry: [Accordion](/v3/reference/theming/keys/Accordion.md)

## Props

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| <span id="prop-themeOverride">themeOverride</span> | `Object` |  | `null` | A partial ThemeObject keyed by component name, merged over this component's theme and provided to descendants. |
| <span id="prop-class">class</span> | `import('vue').HTMLAttributes['class']` |  | `undefined` | Additional CSS classes to apply to the root element. |
| <span id="prop-type">type</span> | `string` |  | `undefined` | The type of accordion (single or multiple). |
| <span id="prop-defaultValue">defaultValue</span> | `string\|array` |  | `undefined` | The default expanded item(s). |
| <span id="prop-modelValue">modelValue</span> | `string\|array` |  | `undefined` | The controlled expanded item(s). |
| <span id="prop-disabled">disabled</span> | `boolean` |  | `undefined` | Whether the accordion is disabled. |
| <span id="prop-dir">dir</span> | `string` |  | `undefined` | The reading direction. |
| <span id="prop-collapsible">collapsible</span> | `boolean` |  | `undefined` | Whether collapsing is allowed. |
| <span id="prop-as">as</span> | `string\|object` |  | `undefined` | The element or component to render as. |
| <span id="prop-asChild">asChild</span> | `boolean` |  | `false` | When true, merges props onto the child element instead of rendering a wrapper. |

## Slots

### `default` {#slot-default}

Scoped slot.

## Events

| Name | Description |
| --- | --- |
| `update:modelValue` | Emitted when the value changes. |

[Full event reference](/v3/reference/api/vue/Accordion/events.md)

## Source

`client/lib/shell/accordion/Accordion.vue`
