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 Blazor Accordion is a container-based component with vertically collapsible panels (vertical accordion) and stacked headers that expand or collapse one or more items at a time within the available space.


Expand and collapse

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

Expand mode

Expand or collapse a single panel or multiple panels (panel toggle) at a time by clicking the panel header 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 Blazor Accordion component allows you to customize the header and content panel’s appearance using the given template elements.


Nested accordions

Add nested levels of collapsible panels within the parent accordion.


Accordion navigation menu

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


Blazor Accordion in touch mode.

Responsive accordion

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


Blazor Accordion with animated panels.

Animation

Blazor Accordion with rich UI supports several types of built-in, fancy animations for panel expanding and collapsing actions.


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, which helps the on-screen readers and assistive devices to access Blazor Accordion component .
  • Follows WAI-ARIA Best Practices for implementing keyboard interactions.
  • UI visual elements such as foreground color, background color, line spacing, text, and images were designed based on WCG 2.0 standards.

Built-in themes

The Blazor Accordion component is shipped with several built-in themes such as Tailwind CSS, Bootstrap 5, Bootstrap 4, Bootstrap, Material, Fabric, and High Contrast.

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


Blazor Accordion Code Example

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

@using Syncfusion.Blazor
@using Syncfusion.Blazor.Navigations

<SfAccordion>
    <AccordionItems>
        <AccordionItem Header="Margeret Peacock" Content="Margeret Peacock was born on Saturday , 01 December 1990. Now lives at Coventry House Miner Rd., London,UK. Margeret Peacock holds a position of Sales Coordinator in our WA department, (Seattle USA). Joined our company on Saturday , 01 May 2010"></AccordionItem>
        <AccordionItem Header="Laura Callahan" Content="Laura Callahan was born on Tuesday , 06 November 1990. Now lives at Edgeham Hollow Winchester Way, London,UK. Laura Callahan holds a position of Sales Coordinator in our WA department, (Seattle USA). Joined our company on Saturday , 01 May 2010"></AccordionItem>
        <AccordionItem Header="Albert Dodsworth" Content="Albert Dodsworth was born on Thursday , 19 October 1989. Now lives at 4726 - 11th Ave. N.E., Seattle,USA.Albert Dodsworth holds a position of Sales Representative in our WA department, (Seattle USA). Joined our company on Friday , 01 May 2009"></AccordionItem>
    </AccordionItems>
</SfAccordion>

Other supported frameworks

Accordion is also available in JavaScript, Angular, React and Vue frameworks that are built from their own TypeScript libraries. Check out the different Accordion platforms from the below links,




Blazor Components – 85+ UI and DataViz 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.
  • One of the best Blazor Accordion components in the market that offers feature-rich UI to interact with the software.
  • Simple configuration and API.
  • Supports all modern browsers.
  • Mobile-touch friendly and responsive.
  • Extensive demos, documentation and videos to learn quickly and get started with Blazor Accordion.

You can find our Blazor 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 No credit card required.

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