Trusted by the world’s leading companies
Overview
The Blazor Sidebar is an expandable and collapsible component that typically acts as a side container in which to place primary or secondary content alongside the main content. It provides a flexible container that can be expanded or collapsed based on user interactions. Any type of HTML content or component can be placed in the Blazor Sidebar control for quick access and for easy navigation, like quick references, menus, lists, and tree views.
Blazor Sidebar Code Example
Easily get started with the Blazor Sidebar using a few simple lines of C# code example as demonstrated below. Also explore our Blazor Sidebar Example that shows you how to render and configure the Blazor Sidebar.
@using Syncfusion.Blazor @using Syncfusion.Blazor.Navigations <div id="header" style="height:45px;text-align: center;color:white;background-color:midnightblue;font-size:1.2rem;line-height:45px;"> Header </div> <SfSidebar Width="250px"> <ChildContent> <div style="text-align: center;" class="text-content"> Sidebar </div> </ChildContent> </SfSidebar> </div> <div class="text-content" style="text-align: center;">Main content</div> <style> .e-sidebar { background-color: #f8f8f8; color: black; } .text-content { font-size: 1.5rem; padding: 3rem; } .main > div { padding: 0px !important; } </style>Transitions and animation
Different types of slide-out content in the Blazor Sidebar component give users the flexibility to view or hide content over or above the main content by pushing, sliding, or overlaying it.
HTML side content position
The Blazor Sidebar component positions its content to the left or right side of the main content area. This allows the placement of two sidebars in a page, both at the left and right, to show primary and secondary content simultaneously.
Dock the HTML side panel content
When you dock the side content to give the main content more space, the navigation text is represented as a shortened view of icons.
Toggle sidebar menu
Bind custom actions to any element (hamburger menu or buttons) to toggle a sidebar.

Responsive sidebar
Auto closing the Blazor Sidebar component’s content allows the main content area to be more readable.
Mobile-friendly side navigation menu
The Blazor Sidebar component’s responsive mode gives an adaptive, redesigned UI appearance for mobile devices.

Other supported frameworks
The Sidebar is available for the React, Angular, JavaScript, and Vue frameworks. Explore its platform-specific options through the following links:
Supported browsers
The Blazor Sidebar works well with all modern web browsers, including Chrome, Firefox, Edge, Safari, and Opera.

Not sure how to create your first Blazor Sidebar? Our tutorial videos and documentation can help.
I’d love to watch it now I’d love to read it nowBlazor Components – 145+ UI and DataViz Components
Frequently Asked Questions
Why should you choose the Syncfusion Essential Studio® Blazor Sidebar component?
Syncfusion Blazor Sidebar provides the following features:
A responsive design with touch-friendly gestures for easy interaction.
A simple and highly customizable sidebar with docking options.
- A progressive layout can be built by pushing, sliding, or overlaying the sidebar content.
- One of the best Blazor Sidebar in the market that offers feature-rich UI to interact with the software.
Simple configuration and developer-friendly APIs.
- Support for all modern browsers.
- Mobile-touch friendly and responsive.
Extensive demos, documentation and videos to learn quickly and get started with the Blazor Sidebar component.
Where can I find the Syncfusion Blazor Sidebar demo?
You can find our Blazor Sidebar demo, which demonstrates how to render and configure the Sidebar.
Can I download and utilize the Syncfusion Blazor Sidebar for free?
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.
How do I get started with Syncfusion Blazor Sidebar?
A good place to start would be our comprehensive getting started documentation.
Our Customers Love Us
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.
