Label

The label for a form control.

<Label htmlFor="workspace-email">Workspace email</Label>
<Input id="workspace-email" type="email" />

The label dims when the control it points at is disabled, which it works out from the peer relationship rather than from a prop.

API

Plus every <label> prop. Source: label/components/label.tsx.