@ec-europa/ecl-accordions

0.6.0 • Public • Published

Accordions

Why and how to use this component

If you need to present a lot of content on a page, it can be divided into sub-sections in a structured way.

The accordion component is a list of headers that can be clicked to hide or reveal additional content. It is also possible to add an icon to the headers.

When to use this component

  • when you have a large amount of information
  • on FAQ pages

Do not use this component

  • as a rule avoid hiding information as much as possible

Resources

/@ec-europa/ecl-accordions/

    Package Sidebar

    Install

    npm i @ec-europa/ecl-accordions

    Weekly Downloads

    10

    Version

    0.6.0

    License

    EUPL-1.1

    Unpacked Size

    9.59 kB

    Total Files

    6

    Last publish

    Collaborators

    • kalin.chernev
    • weslito
    • yhuard