Skip to main content

Expansion Panel

The ExpansionPanel component is useful for reducing vertical space with large amounts of information. The default functionality of the component is to only display one expansion-panel body at a time; however, with the multiple property, the expansion-panel can remain open until explicitly closed.

info

For more details about Vuetify’s usage of ExpansionPanel component, click ExpansionPanel page.
For more prop explanations, click Vuetify ExpansionPanel API page.

Props

NameDescriptionTypeDefault
activeClassThe active-class applied to children when they are activated.string'v-item--active'
classProp that determines the class to add to the menu.string‘container container–fluid’
disabledDisables the entire expansion-panel.booleanfalse
readonlyMakes the entire expansion-panel read only.booleanfalse
visibleVisibility of ExpansionPanel component.booleantrue

Events

AttributeDescription
changeToggles the value of the selected panel
clickMouse click event
click:outsideEvent that fires when clicking outside an active dialog. MouseEvent
keydownEvent that fires when key is pressed. If dialog is active and not using the persistent prop, the esc key will deactivate it. KeyboardEvent

Samples Component

Sample Page

image

Accordion

CustomIcon

Disabled and Readonly

Focusable

Inset

Popout

Creating an Expansion Panel using the createComponent method

createExpansionPanel.qjson

Samples Qjson

Expansion_Panels
ExpansionPanel_UsageAndProps