Scrivito Accessible Accordion
An accordion React Component/Scrivito widget for the Scrivito CMS that let you store an anchor ID.
Screenshot
Installation
Open your terminal.
$ cd
to your Scrivito project
$ npm install scrivito-accessible-accordion
Import the widget in your javascript src/Widgets/index.js
.
Add this line to your index.js:
import "scrivito-accessible-accordion";
Also add the styling for react-accessible-accordeon a dependency of this widget.
@import "~react-accessible-accordion/dist/fancy-example.css";
Features
An accordion widget, useful for FAQ's.
Widget properties
In the widget properties you can set:
- Accordion items
- Title and text per item