Accordion Item
A child component of a calcite-accordion.
Overview
Sample
Edit sample on Codepen
API reference
calcite-accordion-item
Properties
Property | Attribute | Description | Type | Values |
---|---|---|---|---|
active | active | Indicates whether the item is active. | true false | |
icon | icon | optionally pass an icon to display - accepts Calcite UI icon names | ||
itemSubtitle | item-subtitle | pass a title for the accordion item | undefined | |
itemTitle | item-title | pass a title for the accordion item | undefined |
Slots
Name | Description |
---|---|
default (unnamed) | A slot for adding custom content, including nested `calcite-accordion-item`s. |