Base

Label

Form label with a required mark (announced to screen readers) and an optional hint.
import { Label } from "pleate/label";

With an input

Props

htmlFor

The control's id.

string

required

Red asterisk + "(required)" for screen readers.

boolean

hint

Trailing helper text.

ReactNode