Accordion

Built with Reakit for a better accessibility 🌈

Install and import #

Usage #

Visible at start #

Add visible property to open at start the accordion

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

With a custom icon #

Customize the icon with a node element on property icon

Properties #

NameType(s)DefaultRequired
children
node
icon
node
<RightIcon size="sm" />
title
node
visible
bool
false

Dependencies #

Peer dependencies #