FormLabel
Compound on Label. Adds Carbon's optional/required indicators and an info-tooltip slot. Used as the Field-row label across forms.
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
- The control already has an embedded label slot (`TextInput`, `PasswordInput`, `TextArea`) — those wire the label internally.
- Bare-bones cases that want neither optional nor info → use `Label` directly.