Capítulo 20 de 43
An accessible label based on the native label element — automatically associates with a control by wrapping it or via htmlFor, and suppresses text selection on double-click.
Root: renders (or, via asChild, wraps) a native label; accepts htmlFor for explicit association with a control by id.Label.Root associates them implicitly, same as native HTML.button, input) at its root for the association to actually work with assistive technology.Label.Root for the simplest implicit association; use htmlFor when the control can't be a direct child (e.g. it's rendered elsewhere in the DOM via Portal).<label>.Form.Label builds on the same labelling contract but adds automatic validity-state data attributes.