We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Trusted by the world’s leading companies

Syncfusion Trusted Companies

Overview

The React Accordion is a container-based component with vertically collapsible panels (vertical accordion) and stacked headers that expand or collapse one or more panels at a time within the available space.


Expand and collapse

The React Accordion component allows you to customize the expand and collapse actions.

Expand mode

A single panel or multiple panels can expand or collapse (panel toggle) at a time by clicking the panel header (interactions) or programmatically.

Collapsible mode

Collapse all the panels at once. With customization options, a specific panel is set to be in an open state while the rest of the panels are collapsed.


Accordion templates

The React Accordion component allows you to customize the header and content panel appearance using given HTML elements.


React Accordion in data binding

JSON array binding

The React Accordion component can be rendered based on a JSON array collection of properties such as headers and content. Data binding can be achieved by an array collection of items.


Nested accordions

Add nested levels of the React collapsible panel within the parent accordion.


Accordion navigation menu

The React Accordion component can use a nested vertical (hierarchical) navigation menu with links, including external links, in the accordion header.


Icon support

Add prefix icons or images to the panel header. The default expand and collapse icon used in the header is customizable.


React Accordion in touch mode

Responsive accordion

The React Accordion component adapts responsively in devices based on the available space for modern web and mobile applications.


Dynamic AJAX content

The React Accordion allows you to load external content dynamically to a panel using the AJAX library.

React Accordion with dynamic loaded content through AJAX


React Accordion with animated panels

Animation

React collapsible panels support several types of built-in fancy animation for panel expanding and collapsing actions. Animation behavior is customizable.


Developer-friendly APIs

Developers can control the appearance and behavior of accordions using a rich set of APIs.

State persistence

During browser navigation, the expanded or collapsed state of an accordion persists.


Other supported frameworks

Accordion component is also available in Blazor, Vue, Angular, and JavaScript frameworks. Check out the different Accordion platforms from the links below,


Accessibility

  • Fully supports WAI-ARIA accessibility that helps the accordion component be accessed by on-screen readers and assistive devices. 
  • Follows WAI-ARIA Best Practices for implementing keyboard interaction. 
  • Designed the UI element visuals such as foreground color, background color, line spacing, text and images based on WCG 2.0 standard.

Built-in themes

The React Accordion component is shipped with several built-in themes such as Material, Bootstrap, Fabric (Office 365), Tailwind CSS, and High Contrast.

Users can customize any one of these built-in themes or create new themes by either simply overriding SASS variables or using our Theme Studio application.


React Accordion Code Example

Easily get started with the React Accordion using a few simple lines of TSX code example as demonstrated below. Also explore our React Accordion Example that shows you how to render and configure a Accordion in React.

import { AccordionComponent, AccordionItemDirective, AccordionItemsDirective } from '@syncfusion/ej2-react-navigations';
import * as React from 'react';
import * as ReactDOM from "react-dom";

export default class ReactApp extends React.Component<{}, {}> {
  public content0() {
return <div>
    Microsoft ASP.NET is a set of technologies in the Microsoft .NET Framework for building Web applications and XML Web services.
  </div>;
  }
  public content1() {
return <div>
    The Model-View-Controller (MVC) architectural pattern separates an application into three main components: the model, the view, and the controller.
  </div>;
  }
  public content2() {
return <div>
    JavaScript (JS) is an interpreted computer programming language.It was originally implemented as part of web browsers so that client-side scripts could interact with the user, control the browser, communicate asynchronously, and alter the document content that was displayed.
  </div>;
  }
  public render() {
return (
    <AccordionComponent>
        <AccordionItemsDirective>
          <AccordionItemDirective expanded='true' header='ASP.NET' content={this.content0} />
          <AccordionItemDirective header='ASP.NET MVC' content={this.content1} />
          <AccordionItemDirective header='JavaScript' content={this.content2} />
        </AccordionItemsDirective>
    </AccordionComponent>
);
  }
}
ReactDOM.render(<ReactApp/>, document.getElementById("element"));



70+ REACT UI COMPONENTS

Frequently Asked Questions

  • Fully-featured responsive collapsible panels (panel bar) with stacked headers.
  • Beautiful animations when expanding and collapsing panels.
  • Flexibility to make standalone panels or panel groups.
  • Single or multiple expand mode for Accordion panels.
  • One of the best React Accordion in the market that offers feature-rich UI to interact with the software.
  • Easy synchronization of events with Google and Outlook Calendars.
  • Simple configuration and API.
  • Supports all modern browsers.
  • Expansive learning resources such as demos and documentation to learn quickly and get started with React Accordion.

We do not sell the React Accordion separately. It is only available for purchase as part of the Syncfusion React suite, which contains over 70 React components, including the Accordion. A single developer license for the Syncfusion Essential Studio for React suite costs $995.00 USD, including one year of support and updates. On top of this, we might be able to offer additional discounts based on currently active promotions. Please contact our sales team to see if you qualify for any additional discounts.

You can find our React Accordion demo here.

No, our 70+ React components, including Accordion, are not sold individually, only as a single package. However, we have competitively priced the product so it only costs a little bit more than what some other vendors charge for their Accordion alone. We have also found that, in our experience, our customers usually start off using one of our products and then expand to several products quickly, so we felt it was best to offer all 70+ React components for a flat fee of $995/developer. On top of this, we might be able to offer additional discounts based on currently active promotions. Please contact our sales team to see if you qualify for any additional discounts.

No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers.

A good place to start would be our comprehensive getting started documentation.

Read independent,
authenticated reviews
on G2

Download Now Pricing

What do our customers say about us?

double quotes

We're using the file formats and Windows/JavaScript list controls a lot. They're fast, easy to use, and the documentation is good and contains examples. Tickets with questions or suggestions were answered within a day, so we're happy to use the Syncfusion libraries.
Daniel Persidok

Daniel Persidok

wpd onshore GmbH & Co. KG

double quotes

Using Syncfusion Angular and JavaScript controls makes front-end web development a piece of cake. Each component has many properties that can be configured as per your desire, methods that can be used to interact with the element, and a lot of events that trigger at different stages, which makes modifying your components according to the state of the application an easy task. Also, their support is amazing! They always offer a sample working project, which makes it very simple to solve your question about your code.
Carlos Rodriguez Garcia

Carlos Rodriguez Garcia

Vistatec

Transform your applications today by downloading our free evaluation version Download Free Trial

Awards

Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile