Blazor Label

Represents a caption for an item in a user interface.

Features:

JavaScript Independence: This component operates seamlessly without requiring JavaScript, offering a lightweight and straightforward solution.

Appearance customization: Customizable styles and themes.

Rendering options: Render your component as various HTML tags for maximum flexibility and integration.

Learn about core component featuresLearn about input component features

Nested Label

<BlazorLabel>
    <BlazorInputCheckbox @bind-Value="..." />
    Check me
</BlazorLabel>

Label with id Attribute

<BlazorInputCheckbox id="chk-me" @bind-Value="CheckMe" />
<BlazorLabel for="chk-me">Check me</BlazorLabel>
An error has occurred. This application may no longer respond until reloaded. Reload 🗙