Component changelog

Label changelog

Component-specific release notes collected from the full changelog. This page filters the published entries that mention Label.

Release

v1.1.0

npm
Minor Changes
  • d955028: feat(badge): soft label style by default

    Badges get a new look:

    • Default variant is now soft (was solid): a translucent tint of the badge's color with vivid text. Pass variant="solid" to keep the previous default.
    • Small rounded corners (--rad-ui-control-radius-sm) instead of a pill, and the mono font at weight 600, for every variant.
    • Without color, the soft badge uses the neutral gray scale.

    Every color scale clears WCAG AA (4.5:1 or better) in both light and dark. A new theme variable, --rad-ui-badge-soft-text-weight, tunes the soft text mix per appearance.

  • 3aabdde: feat(label): add Label component

    @radui/ui/Label renders a native <label> that names a form control (htmlFor, or by wrapping it).

    • Matches Radix Label: double-clicking the label doesn't select its text, while controls nested inside it still get their own clicks.
    • Supports asChild, customRootClass and ref forwarding.
    • Clarity and baremetal styles included.

Release

v1.0.0

npm
Patch Changes
  • 903a35dExpose stable RadioGroup anatomy markers through data-slot attributes on root, label, item, and indicator parts.