Skip to main content

Accordion

Result
Loading...
Live Editor

With the AccordionHeaderContent component​

Kyber provides an AccordionHeaderContent component to help you build an accordion with render props for each section of the header.

Result
Loading...
Live Editor

Using with collapsible Cards​

The useAccordionButton can be used within a custom toggle to control the state of the Accordion. In this example the Card component is used to create a collapsible card.

Result
Loading...
Live Editor

Props​

Accordion​

AccordionHeaderContent​

```