Accordion

A vertically stacked set of interactive headings that each reveal a section of content.

Usage

PreviewCode

API Reference

VoltAccordionItem — volt-accordion-item

InputTypeDefault
value *string

VoltAccordion — volt-accordion

InputTypeDefault
type NgpAccordionType 'single'
collapsible boolean false
value string | string[] | null null
disabled boolean false
orientation 'horizontal' | 'vertical' 'vertical'
OutputType
valueChangestring | string[] | null

Component Source

Install via CLI:npx @voltui/cli add accordion
TypeScript
Loading editor…

Copy this code to your project. The component uses ng-primitives/accordion.