28 October 2026
Section titled “28 October 2026”Added
- First version: a two-state button that stays pressed, on Base UI Toggle.
icon,children, a requiredlabel(icon-only),variant(tertiary,secondary),size.- Controlled (
pressed,onPressedChange) and uncontrolled (defaultPressed) use. - Pressed state with a
color-surface-selectedfill and acolor-border-selectedborder. - Press motion
motion.press;data-component="toggle".
Changed
- Heights are 32, 36 and 40 px; the default
mdis 36 px, 40 px on a touch screen. Corner radius is 10 px. - Focus shows as a 2 px outer focus outline with a 2 px gap (
focus-outline).