Accordion — Playground

px
Configure display and behavior options.
mode
appearance
size
State
html.html
<kui-accordion>
  <kui-accordion-item id="general" header="General settings">
    Configure display and behavior options.
  </kui-accordion-item>
  <kui-accordion-item id="notifications" header="Notifications">
    Manage push notifications and email digests.
  </kui-accordion-item>
  <kui-accordion-item id="security" header="Security">
    Account security parameters.
  </kui-accordion-item>
</kui-accordion>
NameTypeDefaultDescription
mode'exclusive' | 'multi''exclusive'Toggle mode. exclusive keeps a single section open at a time; multi allows any number of sections open simultaneously. Two-way bindable.
appearance'default' | 'bordered' | 'ghost''default'Container and divider treatment: default uses bottom borders between items, bordered wraps each item in its own bordered block, ghost has no borders.
size'xs' | 'sm' | 'md' | 'lg''md'Trigger height and text size.
expandedItemsstring[][]IDs of currently expanded items. Supports two-way binding with [(expandedItems)]; mutations are reflected back through the model.
headerstring''kui-accordion-item: trigger label text.
idstringauto-generatedkui-accordion-item: stable ID used for state tracking and ARIA wiring.
disabledbooleanfalsekui-accordion-item: removes the trigger from tab order and prevents toggling the section.
kuiAccordionIcon--Marker directive for an ng-template projected into a kui-accordion-item trigger, before the label text.

Inputs verified against @kikita-labs/ui v1.6.1 v1.6.1 public typings.