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.
CodeSandbox Demo
Component wrappers for auto-scrolling collapsible elements - with smooth animations powered by react-motion and react-collapse.
Demo
https://danhaggard.github.io/react-scroll-collapse/examples/
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.
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.
Demo
simple - codepen
accordion - codepen
read more - codepen
codesandbox - collapsibles
codesandbox expand-all
codesandbox CSS-in-JS integration example
view storybook
Accordion react component with animation.
Demo
A very lightweight accordion component in React (only has one dependency).
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:
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/
Declarative, modular and accessible React tabs component https://react-web-tabs.firebaseapp.com/
Demo
See the demo website for a live example.
React accordion component https://daviferreira.github.io/react-sanfona
React Collapse / Accordion
Example
http://localhost:8000/examples/
online example: http://react-component.github.io/collapse/
Tabbordion is a component for managing active state between multiple items. You can make anything out of it:
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/
Minimal UI Accordion Component Written In React.
React component to wrap content in Collapsible element with trigger to open and close.
It’s like an accordion, but where any number of sections can be open at the same time.
Supported by Browserstack.
React component to wrap content in Accordion element.
React accordion component which is 100% responsive.
This component is dependent on React Collapsible
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! :)
React accordion component with flexbox header
Demo: https://react-accordion-with-header.now.sh/
React Accordeon component with expand/collapse CSS animation. The event trigger can be configured to any component, such in the Navigation and Content
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.
Demo
Try a demo now.
a nice React accordion example.
Demo
Simple lightweight (1.5kb minified+gzipped) accordion component.
A Simple React 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
mimic the actions but building it in React.js
#reactjs #javascript