← Components/primitives

FormLabel

Compound on Label. Adds Carbon's optional/required indicators and an info-tooltip slot. Used as the Field-row label across forms.

primitivesstablea11y: untested2/3 coverageEdit on GitHub ↗
primitives-formlabel--defaultOpen all variants →

When to use

  • The standard label affordance for any form row that needs Carbon's optional pill or an info-tooltip trigger.
  • Use this — not raw `Label` — for every field the user fills out unless you have a specific reason to drop the affordances.

When not to use