Lumeo

Label

A text label for form controls.

Installation

dotnet add package Lumeo

One-time app setup (AddLumeo(), CSS & JS) is covered in the installation guide.

Usage

@using Lumeo

<Label />

When to Use

  • Labeling form fields such as inputs, selects, checkboxes, and radio buttons
  • Improving accessibility by associating labels with their form controls
  • Indicating required fields with visual markers alongside label text
*

We'll never share your email with anyone.

API Reference

Label

Prop Type Default Description
ChildContentRenderFragment?nullThe label text content.
Forstring?nullThe id of the form element the label is associated with.
Classstring?nullAdditional CSS classes.
AdditionalAttributesDictionary<string, object>?nullAdditional HTML attributes.
  • Input — For text input fields that labels are commonly paired with
  • Form — For structured form layouts with built-in label and validation support
  • Checkbox — For boolean controls that benefit from inline labels