Blazor Message Example - Advanced Customization
This sample demonstrates customization of the icon, content alignment, and appearance in Blazor Message.
Content Alignment
Custom Message with Icon
The Message component can be displayed with different predefined content alignments. The available content alignments are left, center, and right. The default alignment is left.
The Message component can be rendered with a custom icon and custom appearance by using the CssClass property.
In this sample, the component’s content is aligned based on the ContentAlignment property. Also, this component is rendered with a custom severity icon and custom appearance.
More information about Message customization can be found in this documentation section.