Skip to content

mdwp/scrivito-accessible-accordion

Repository files navigation

Scrivito Accessible Accordion

CMS: Scrivito License: MIT Join the community on Spectrum

An accordion React Component/Scrivito widget for the Scrivito CMS that let you store an anchor ID.

Screenshot

Screenshot

Installation

Open your terminal.

$ cd to your Scrivito project

$ npm install scrivito-accessible-accordion

Import the widget in your javascript (e.g. in index.js or 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

About

An accordion React component/Scrivito widget for the Scrivito CMS.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published