Blazor Sidebar
- 2 minutes to read
The DevExpress Sidebar component for Blazor (DxSideBar) displays a vertical icon-based navigation strip. Use the Sidebar to switch between app sections and navigate to pages.

Features
Items and Groups
Add DxSideBarItem objects to the Sidebar markup and specify item text and icons. Set the BeginGroup property to true to display a separator before an item. To display an item at the bottom of the Sidebar, set the Alignment property to Bottom.
Navigation
Specify the NavigateUrl property to navigate to a page when a user clicks an item. The Sidebar can automatically select the item that navigates to the current page. Use the UrlMatchMode property to specify how the Sidebar compares item URLs with the current browser URL.
Selection
The Sidebar selects an item when a user clicks the item, when the item URL matches the current page, and when you call the SelectItem(Func<ISideBarItemInfo, Boolean>) method. Handle the SelectionChanged event to react to selection changes.
Adaptivity
If the Sidebar height is insufficient to display all items, the component moves items to the overflow menu. Use the AdaptivePriority property to specify the order in which the Sidebar hides items.
Two-Level Navigation
Combine the Sidebar with Drawer and TreeView components to build two-level navigation. The Sidebar lists app sections, and the drawer panel displays pages of the selected section.
