Use the <RadzenText> component to format text in your application.
These demos showcase text formatting with predefined TextStyle options (H1-H6/Subtitle1-2/Body1-2/Caption/Overline), semantic TagName property for accessibility, display headings for emphasis, text alignment options, theme functional text colors using CSS variables, text transformation classes (uppercase/lowercase/capitalize), and text wrapping behaviors (wrap/nowrap/truncate).
Use the TextStyle property to apply a predefined text style.
Radzen Body 1 Radzen Blazor Components are open source and free for commercial use. You can install them from nuget or build your own copy from source.
Radzen Body 2 Radzen Blazor Components are open source and free for commercial use. You can install them from nuget or build your own copy from source.
You can use TextStyle together with TagName to apply different styling while keeping the code semantically correct.
This is a paragraph styled as H3
Use display headings to emphasise a text or page title. Display headings are usually larger than traditional headings.
You can use TextAlign to align your text.
TextAlign.Center
Radzen Blazor Components are open source and free for commercial use. You can install them from nuget or build your own copy from source.
TextAlign.Left
Radzen Blazor Components are open source and free for commercial use. You can install them from nuget or build your own copy from source.
TextAlign.Right
Radzen Blazor Components are open source and free for commercial use. You can install them from nuget or build your own copy from source.
TextAlign.Start
Radzen Blazor Components are open source and free for commercial use. You can install them from nuget or build your own copy from source.
TextAlign.End
Radzen Blazor Components are open source and free for commercial use. You can install them from nuget or build your own copy from source.
TextAlign.Justify
Radzen Blazor Components are open source and free for commercial use. You can install them from nuget or build your own copy from source.
These are the theme's text color CSS variables. Each theme has its own text color values assigned. Change the theme to preview them. You can use CSS variables in styles e.g. style="color: var(--rz-text-secondary-color);"
Use CSS classes to capitalize text. E.g. class="rz-text-uppercase".
Use rz-text-wrap, rz-text-nowrap, and rz-text-truncate CSS classes to specify how the text content should wrap. E.g. class="rz-text-truncate".
Radzen Blazor Components, © 2018-2025 Radzen.
Source Code licensed under
MIT