Accordion
A vertically stacked set of expandable content sections.
Yes. It adheres to the WAI-ARIA design pattern.
Yes. It's unstyled by default, giving you freedom over the look and feel.
Installation
Usage
Examples
Default
Yes. It adheres to the WAI-ARIA design pattern.
Yes. It's unstyled by default, giving you freedom over the look and feel.
API Reference
Properties
Property | Type | Default | Description |
---|---|---|---|
uiAccordionType | "single" | "multiple" | — | Accordion behavior type. |
uiAccordionCollapsible | boolean | — | Allow closing the active item. |
uiAccordionValue | string | — | Accordion value (for controlled state). |
uiAccordionDisabled | boolean | — | Whether the accordion is disabled. |
class | string | — | Additional CSS classes. |
Outputs
Output | Type | Description |
---|---|---|
uiAccordionValueChange | EventEmitter<any> | Emitted when the accordion value changes. |
Built with ❤️ by @immohammadjaved • Source code available on GitHub