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.
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>
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.
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.
When you dock the side content to give the main content more space, the navigation text is represented as a shortened view of icons.
Bind custom actions to any element (hamburger menu or buttons) to toggle a sidebar.
Auto closing the Blazor Sidebar component’s content allows the main content area to be more readable.
The Blazor Sidebar component’s responsive mode gives an adaptive, redesigned UI appearance for mobile devices.
The Sidebar is available for the Angular, React, JavaScript, and Vue frameworks. Explore its platform-specific options through the following links:
The Blazor Sidebar works well with all modern web browsers, including Chrome, Firefox, Edge, Safari, and Opera.
Syncfusion Blazor Sidebar provides the following features:
We do not sell the Blazor Sidebar separately. It is only available for purchase as part of the Syncfusion team license. This contains over 1,800 components and frameworks, including the Blazor Sidebar. The price of the team license starts at $395 per month for 5 developers, and includes support and updates until the subscription expires. In addition, we might offer discounts based on currently active promotions. Please contact our product specialists today to see if you qualify for any additional discounts.
You can find our Blazor Sidebar demo, which demonstrates how to render and configure the Sidebar.
No, our 1,800+ components and frameworks for web, mobile, and desktop, including our Blazor Sidebar, are not sold individually. They are only available as part of a team license. However, we have competitively priced the product, so it only costs a little bit more than what some other vendors charge for their Sidebar component 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 1,800+ components and frameworks for a subscription fee that starts at $395 per month for a team of 5 developers. Additionally, we might be able to offer discounts based on currently active promotions. Please contact our product specialists today 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, 5 or fewer developers, and 10 or fewer total employees.
A good place to start would be our comprehensive getting started documentation.
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.