Blazor ToolBar - Overview
- EDIT IN TELERIK REPL
- Change Theme
The ToolBar component is part of Telerik UI for Blazor, a professional grade UI library with 100+ native components for building modern and feature-rich applications. To try it out sign up for a free 30-day trial.
The Telerik UI for Blazor ToolBar is a container that organizes buttons and button groups into a toolbar. It supports templates for complete customization and provides spacers and separators to better organize the inner components.
The Blazor Toolbar includes these built-in tools:
- ToolbarButton: A button with just text, and icon or both.
- ToolbarToggleButton: A button with two states: normal and selected.
- ToolbarButtonGroup: Group together multiple buttons with a related purpose. When you add multiple groups to the toolbar, it will space them sensibly.
The Blazor ToolBar will automatically lay out and space your button groups. Its elements include:
- ToolBarSeparator: Adds a line between two items. Various settings help you customize its responsive behavior.
- ToolBarSpacer: Adds empty space around toolbar items.
You can use templates to add your own items to the Blazor ToolBar. Many developers like to add the Blazor DropDownList to help users select values.
The Blazor ToolBar example above imagines a custom email client. The first few items use the built-in ToolBarButton. The last item (Move to) shows you how to use the ToolBarTemplate to add a Blazor DropDown to your toolbar.
Feel free to open this demo in the Blazor REPL (described below) and add items such as ToolBarGroups, ToolBarSpacers and ToolBarSeparators to see how easy it really is.