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
Minor Changes
-
d955028: feat(badge): soft label style by default
Badges get a new look:
- Default variant is now
soft(wassolid): a translucent tint of the badge's color with vivid text. Passvariant="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. - Default variant is now
-
3aabdde: feat(label): add Label component
@radui/ui/Labelrenders 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,customRootClassand ref forwarding. - Clarity and baremetal styles included.
Release
v1.0.0
Patch Changes
- 903a35dExpose stable RadioGroup anatomy markers through
data-slotattributes on root, label, item, and indicator parts.