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 Angular 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 Angular 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 Accordion component allows you to customize the header and content panel appearance using given HTML elements.


Angular Accordion or material accordion in data binding

JSON array binding

The 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 collapsible panel within the parent accordion.


Accordion navigation menu

The Angular 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.


Material Angular accordion in touch mode

Responsive accordion

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


Dynamic AJAX content

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

Angular Accordion or material accordion with dynamic loaded content through AJAX


Material Angular accordion with animated panels

Animation

The Angular material 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.


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 Angular 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.


Angular Accordion Code Example

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

<ejs-accordion>
    <e-accordionitems>
        <e-accordionitem expanded='true'>
            <ng-template #header>
              <div>ASP.NET</div>
            </ng-template>
        </e-accordionitem>
    </e-accordionitems>
</ejs-accordion>
import { Component, OnInit } from '@angular/core';

@Component({
  selector: 'app-root',
  // specifies the template string for the Accordion component
  template: `<ejs-accordion> </ejs-accordion>`
})
export class AppComponent {

}

Other supported frameworks

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


Angular version compatibility

With continuous improvement in Angular versions, the Angular Accordion is kept up to date to make it compatible with the latest version.




80+ ANGULAR UI COMPONENTS

Frequently Asked Questions

The Syncfusion Angular Accordion control supports the following features:

  • Supports to define single or multiple expand mode for Accordion panels.
  • Fully-featured responsive collapsible panels (panel bar) with stacked headers.
  • Beautiful animations when expanding and collapsing panels.
  • Provides built-in compliance with the WAI-ARIA specifications and it is achieved through attributes. By default, it allows to interact with Accordion by using keyboard shortcuts.
  • Flexibility to make standalone panels or panel groups.
  • One of the best Angular Accordion in the market that offers feature-rich UI to interact with the software.
  • Support for all modern browsers.
  • Expansive learning resources such as demos and documentation to learn quickly and get started with Angular Accordion.

You can find our Angular Accordion demo here.

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, 5 or fewer developers, and 10 or fewer total employees.

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

Our Customers Love Us

Having an excellent set of tools and a great support team, Syncfusion reduces customers’ development time.
Here are some of their experiences.

Rated by users across the globe

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
Live Chat Icon For mobile