@logo-elements/accordion
v23.0.0
Published
A web component for displaying a vertically stacked set of expandable panels. n
Downloads
15
Readme
@logo-elements/accordion
A web component for displaying a vertically stacked set of expandable panels.
<logo-elements-accordion>
<logo-elements-accordion-panel theme="filled">
<div slot="summary">Accordion Panel 1</div>
<div>Accordion is a set of expandable sections.</div>
</logo-elements-accordion-panel>
<logo-elements-accordion-panel theme="filled">
<div slot="summary">Accordion Panel 2</div>
<div>Only one accordion panel can be opened.</div>
</logo-elements-accordion-panel>
</logo-elements-accordion>
Installation
Install the component:
npm i @logo-elements/accordion -s
Once installed, import the component in your application:
import '@logo-elements/accordion';