Accordion Item

A child component of a calcite-accordion.

Overview

Sample

Show code snippetCopy code snippet
Edit sample on Codepen
v1.0.0-beta.83
Toggle preview themeToggle preview direction

API reference

calcite-accordion-item
v1.0.0-beta.83

Properties

PropertyAttributeDescriptionTypeValues
activeactive

Indicates whether the item is active.

booleanA boolean property should be present, or not
truefalse
iconicon

optionally pass an icon to display - accepts Calcite UI icon names

optional
iconAccepts a Calcite UI Icon string
itemSubtitleitem-subtitle

pass a title for the accordion item

optional
stringA custom string
undefined
itemTitleitem-title

pass a title for the accordion item

optional
stringA custom string
undefined

Slots

NameDescription
default (unnamed)

A slot for adding custom content, including nested `calcite-accordion-item`s.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.