Skip to content

Accordion API

API reference docs for the Stash Accordion component. Learn about the props, CSS, and other APIs of this exported module.

Import

ts
import Accordion from '@leaflink/stash/Accordion.vue';

Props

NameTypeDefaultDescription
iconIconNamecircle-infoThe filename of the icon that will be displayed on the left side of the header
isExpandedbooleanfalseWhether the Accordion is expanded or not
titlestringundefinedTitle of the Accordion, displayed in the header

Slots

NameDescription
Accordion header
defaultAccordion content

Events

NameDescription
toggle
open
close