Label

Dark Mode

Label can be used to compose custom form components.
It is reused by all form components to render the input label.

It is considered a internal core component and should only be used with caution.

Do's & Don'ts

It is not intended for pure visual use. It render's a

label
tag and requires a corresponding input component.

Props

Name
Type
Default
Description
name*
string
The id of the related input field
disabled
bool
Whether the input, and thus label, is disabled
label
string
The actual label text

Examples

Disabled

name

In order to correctly link the label to a input component, one must provide the same name to both components.