Local guide ↗ import { Label } from "bits-ui"

Native input

for points to the native input id, so the text names and activates the field

Notifications will be sent to alex@northstar.dev.

Bits UI control

for/id activation and aria-labelledby give the custom checkbox one shared visible name

A concise summary of deployments, incidents and open reviews.

Digest is disabled.

Label.Root is an enhanced label intended for any input. Association is still explicit: pair for with the control’s id; for a non-native Bits UI control, also use the label id with aria-labelledby when the control’s API calls for an accessible name.

Unlike a bare label used ad hoc around a custom control, the primitive supports Bits UI child delegation and a bindable element ref, and exposes data-label-root as a stable styling hook. Those integrations do not replace the accessible association—the matching ids are what make clicking the visible label activate its control.