@maggioli-design-system/mds-accordion
TypeScript icon, indicating that this package has built-in type declarations

4.10.4 • Public • Published

mds-accordion

This is a web-component from Maggioli Design System Magma, built with StencilJS, TypeScript, Storybook. It's based on the web-component standard and it's designed to be agnostic from the JavaScirpt framework you are using.

Properties

Property Attribute Description Type Default
closable closable Specifies if an item can be closed by user boolean | undefined true
multiple multiple Choose if multiple siblings can be selected simultaneously boolean | undefined false

Events

Event Description Type
mdsAccordionChange Emits when the component attribute selected is changed CustomEvent<MdsAccordionEventDetail>

Slots

Slot Description
"default" Add mds-accordion-item element/s.

CSS Custom Properties

Name Description
--mds-accordion-border-color Sets the border-color of the component children mds-accordion-item
--mds-accordion-color Sets the text-color of the component children mds-accordion-item
--mds-accordion-description-color Sets the color of the always visible title description
--mds-accordion-duration Sets the transition duration of the close/open animation of the component children mds-accordion-item
--mds-accordion-padding-selected Sets the vertical padding of the component children mds-accordion-item when it's selected
--mds-accordion-padding-unselected Sets the vertical padding of the component children mds-accordion-item when it's unselected

Built with love @ Gruppo Maggioli from R&D Department

/@maggioli-design-system/mds-accordion/

    Package Sidebar

    Install

    npm i @maggioli-design-system/mds-accordion

    Weekly Downloads

    687

    Version

    4.10.4

    License

    MIT

    Unpacked Size

    867 kB

    Total Files

    189

    Last publish

    Collaborators

    • moodysmiles
    • vitto