Label
Form label associated with its control via htmlFor.
Previewlive — edit controls below
Content
Basic
import { Label } from "@loom/muslin-react";
<Label htmlFor="email">Email</Label>Bound to a control
Clicking the label focuses the input.
import { Input, Label } from "@loom/muslin-react";
<div className="flex flex-col gap-1.5">
<Label htmlFor="customer">Customer</Label>
<Input id="customer" placeholder="ACME Corp" />
</div>