23 Awesome Accordion Component with React

1.React fullpage accordion

Full page (or set height) fancy React accordion.

Note: Your React application will need to handle importing .css files (e.g. css-loader if using webpack).

Node: You will need to set any parent elemnts height to 100% and not pass a height prop, if you wish to have a fullpage accordion.

React fullpage accordion

CodeSandbox Demo

View on GitHub

2.React scroll collapse

Component wrappers for auto-scrolling collapsible elements - with smooth animations powered by react-motion and react-collapse.
React scroll collapse

Demo
https://danhaggard.github.io/react-scroll-collapse/examples/

View on GitHub

3.React Escape Outside

Close React component by pressing Escape or clicking outside of it.
Higher Order Component to close wrapped component by pressing ESC key or clicking outside. Combines two separate funcionalities I often find useful together. See a demo.

React Escape Outside

View on GitHub

4.React collapse

Component-wrapper for collapse animation with CSS for elements with variable and dynamic height
Collapse component with CSS transition for elements with variable and dynamic height.

React collapse

Demo
simple - codepen
accordion - codepen
read more - codepen
codesandbox - collapsibles
codesandbox expand-all
codesandbox CSS-in-JS integration example
view storybook

View on GitHub

5. Accordion react component

Accordion react component with animation.

Demo

6.React light accordion

A very lightweight accordion component in React (only has one dependency).

React light accordion

LIVE DEMO

View on GitHub

7.React tabbordion

Universal, semantic and accessible React state managing components for creating Accordions and Tabs

Tabbordion is a component for managing active state between multiple items. You can make anything out of it:

  • Tabs component
  • Accordion component
  • Multi select list component
  • Option component
  • List of options
  • List of checkboxes
    Essentially Tabbordion handles the state, gives tools for complete CSS based styling, manages WAI ARIA and provides a great HTML/DOM structure to work with. Tabbordion is universal and therefore works both server side and client side!

Keyboard usage works just like with radio buttons (or checkboxes when using multiple mode); the component avoids reinventing the wheel and takes advantage of native browser behavior where possible, which is why you can’t see any code related to keyboard handling despite arrow keys and smart focus behavior being fully supported.

Demo: https://merri.github.io/react-tabbordion/

View on GitHub

8.React web tabs

Declarative, modular and accessible React tabs component https://react-web-tabs.firebaseapp.com/
React web tabs
Demo
See the demo website for a live example.

View on GitHub

9.React sanfona

React accordion component https://daviferreira.github.io/react-sanfona

React sanfona

View on GitHub

10.React collapse

React Collapse / Accordion
React collapse

Example
http://localhost:8000/examples/

online example: http://react-component.github.io/collapse/

View on GitHub

11.React tabbordion

Tabbordion is a component for managing active state between multiple items. You can make anything out of it:

  • Tabs component
  • Accordion component
  • Multi select list component
  • Option component
  • List of options
  • List of checkboxes
    Essentially Tabbordion handles the state, gives tools for complete CSS based styling, manages WAI ARIA and provides a great HTML/DOM structure to work with. Tabbordion is universal and therefore works both server side and client side!

Keyboard usage works just like with radio buttons (or checkboxes when using multiple mode); the component avoids reinventing the wheel and takes advantage of native browser behavior where possible, which is why you can’t see any code related to keyboard handling despite arrow keys and smart focus behavior being fully supported.

Demo: https://merri.github.io/react-tabbordion/

View on GitHub

12. React Accordion Component

Minimal UI Accordion Component Written In React.
React Accordion Component

View on GitHub

13. React Responsive Collapsible Section Component

React component to wrap content in Collapsible element with trigger to open and close.

React Responsive Collapsible Section Component

It’s like an accordion, but where any number of sections can be open at the same time.

Supported by Browserstack.

View on GitHub

14.React Responsive Accordion Component

React component to wrap content in Accordion element.

React accordion component which is 100% responsive.

React Responsive Accordion Component

This component is dependent on React Collapsible

View on GitHub

15.React Accordion UI Component

I wanted to flex my react muscles by building a little component. It all began with this egghead tutorial.

Great way to get started and practice some ES6, however at the end of this brief guide I was left with only one list item, so I had some fun digging around to figure out how to render a full list of question and answers.

I also wanted to do a fun folding animation for the accordion, I drew from this really sweet widget! I’m not totally satisfied with the animation result, if anyone has thoughts on how to finesses the fold I’m all ears! :)

16.React accordion with header

React accordion component with flexbox header

React accordion with header

Demo: https://react-accordion-with-header.now.sh/

View on GitHub

17.React Accordeon

React Accordeon component with expand/collapse CSS animation. The event trigger can be configured to any component, such in the Navigation and Content

React Accordeon

View on GitHub

18.React accessible accordion

Accessible Accordion component for React. Inspired by rc-collapse and react-sanfona.

If you like accessible components, feel free to check this other repo react-accessible-modal.
React accessible accordion
Demo
Try a demo now.

View on GitHub

19.React accordion

a nice React accordion example.
React accordion
Demo

20.React collapsy

Simple lightweight (1.5kb minified+gzipped) accordion component.
React collapsy

View on GitHub

21. React Accordion

A Simple React Accordion example.

React Accordion

22. React + a11y Simple Accordion Example

Showing the team how easy it is to build stateful components in React!

These are a11y compliant accordions. Very basic, but a good illustration of how you can implement features rapidly using React. This took me about an hour to complete.

Live Demo

23.React Accordion Box

mimic the actions but building it in React.js

#reactjs #javascript

23 Awesome Accordion Component with React
204.45 GEEK