CosmoUI v2.4.0

Release Notes & Changelog

All notable updates to @cosmoui/primitives, @cosmoui/tokens, and the CLI scaffolding engine.

v2.4.0 Latest

Released October 2026

Added native CSS Anchor Positioning fast-path to @cosmoui/primitives/popover and tooltip with automatic fallback to floating-ui compute on older engines. Improved React 19 ref forwarding without forwardRef wrappers.

v2.3.2

Released August 2026

Fixed roving focus wrap-around when dynamic items are unmounted inside Command.List and Tabs.List. Reduced gzipped token stylesheet size by 18%.

v2.2.0

Released May 2026

Introduced P3 wide-gamut OKLCH token presets and high-contrast media query overrides (@media (prefers-contrast: more)).