Label

Form caption on bits-ui Label. Inherits disabled and checked state from neighbouring controls — no motion, just clear association.

Usage

States

API reference

Inherits bits-ui Label.Root props via spread. Picks up peer-disabled and group-data-[disabled] from surrounding controls automatically.

PropTypeDescription
stringNative htmlFor association with the control. Required for screen-reader wiring.
HTMLLabelElement | nullTwo-way-bindable element reference.
stringMerged onto the root via tailwind-merge.