Skip to main content

CaAccordionItem

Toggle content by clicking parent

SASS-path: ./styles/components/molecules/ca-accordion-item.scss

Props

NameDescriptionTypeRequiredDefault
openOnInitShould it be open on page load?Booleanfalsefalse
baseTagHtml tag for wrapperStringfalsediv
iconOpenIcon name for when accordion is openStringfalseminus
iconClosedIcon name for when accordion is openStringfalseplus
styledShould it come with pre-defined style or noneBooleanfalsetrue

Slots

NameDescriptionDefault Slot Content
toggle-content--
toggle-text--
default--