Skip to contents

Create a AccordionItem component

Usage

calcite_accordion_item(...)

Arguments

...

named attributes passed to htmltools::tag()

Value

an object of class calcite_component which is a subclass of shiny.tag

Details

Properties

The following properties are provided by this component:

NameAttributeDescriptionValuesReflects to Attribute
descriptiondescriptionSpecifies a description for the component.stringFALSE
expandedexpandedWhen true, the component is expanded.booleanTRUE
headingheadingSpecifies heading text for the component.stringFALSE
iconEndicon-endSpecifies an icon to display at the end of the component.stringTRUE
iconFlipRtlicon-flip-rtlDisplays the iconStart and/or iconEnd as flipped when the element direction is right-to-left ("rtl")."both" | "end" | "start"TRUE
iconStarticon-startSpecifies an icon to display at the start of the component.stringTRUE

Slots

The following slots are provided by this component:

SlotDescription
Default (unnamed)A slot for adding custom content, including nested calcite-accordion-items.
actions-endA slot for adding calcite-actions or content to the end side of the component's header.
actions-startA slot for adding calcite-actions or content to the start side of the component's header.

Examples

calcite_accordion_item()
#> <calcite-accordion-item></calcite-accordion-item>