Skip to main content

Label

Standalone accessible form label with required marker and optional hint.

Required

Optional

Default

Paired with field

Custom optional text

API

PropRequiredTypeDefaultDescription
themeOptionalSiteThemeatelierVisual theme.
htmlForOptionalstringAssociates label with a control id.
requiredOptionalbooleanShows asterisk + screen reader required text.
optionalOptionalbooleanShows optional marker text.
childrenOptionalReactNodeLabel text.