This is a simple accordion component based on the touristic demo of magnolia. All CSS and Javascript is based on Bootstrap.
You can add a title and check if the accordion should be expanded on page load. You can add multiple other components inside.
You can use this component by simple adding it to any area you want. If you use the travel-demo it is directly decorated on the home page main area.
This directory is a Magnolia 'light module'.
Search the docs for sharing light modules
for details on how to share and use light modules on npm and github.
It's easy to create components for Magnolia and share them on github and npm. I invite you to do so and join the community. Let's stop wasting time by developing the same thing again and again, rather let's help each other out by sharing our work and create a rich library of components.
Just add magnolia-light-module
as a keyword to npm's package.json to make them easy to find and use on npm.
MIT
Marvin Kerkhoff