Renders an accessible label associated with controls.
For form fields, use the Field component which includes built-in label, description, and error handling.
Installation
Usage
<Label for="email">Your email address</Label>Label in Field
For form fields, use the Field component which includes built-in FieldLabel, FieldDescription, and FieldError components.
<Field>
<FieldLabel for="email">Your email address</FieldLabel>
<Input id="email" />
</Field>RTL
To enable RTL support in Blazix, see the RTL configuration guide.
Translated with AI for the demo, so it may have mistakes.
API Reference
Label
Other attributes are passed to the element it renders.