Default Light
MgLibrary
Overview
Installation
Buttons
Cards
Charts
Codes
Data Grids
Dropdowns
Editors
Headers & Animations
Icons
Indicators
Inputs
Lists
Modals
Menus
Panels
Pills & Chips
Scheduling
Tabs
Time Line
Trees
Customization

Toolbars

Compact horizontal bars containing actions, typically used in editors or application headers.

Use this example to explore default behavior, customization points, and accessibility-friendly patterns in a real Blazor page.

Toolbars

MgToolbar

Compact horizontal bars containing actions, typically used in editors or application headers.

API Reference

MgToolbar

Property Type Default Description
ToolItemClicked EventCallback<MgToolbarItem> - Triggered when a toolbar item is clicked.
ToolbarIconSize int -1 Optional icon size override for toolbar items.

MgToolbarItem

Property Type Default Description
ActionName string "" Logical action name emitted when clicked.
Clicked EventCallback<string> - Optional callback invoked with the action string.
IsDisabled bool false Disable interaction for this toolbar item.
An unhandled error has occurred. Reload 🗙