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.
htmlForOptionalstring—Associates label with a control id.
requiredOptionalboolean—Shows asterisk + screen reader required text.
optionalOptionalboolean—Shows optional marker text.
childrenOptionalReactNode—Label text.