Constants
Kookie UI's custom design constants provide consistent values for transitions, effects, and component behavior across your application. These constants are unique to Kookie UI and are not part of the Radix Themes system.
Kookie UI is in beta. Components and APIs are still evolving, and breaking changes may happen. I recommend checking changelogs carefully before upgrading.
Installation
shellUsage
These constants are automatically available in your CSS when using Kookie UI. They respond to theme scaling and provide consistent values across all components. Use these constants in your custom components for consistency:
cssTransitions
Comprehensive transition system with spring-based easing and component-specific configurations:
Duration Tokens
cssSpring Easing Curves
cssSemantic Motion Tokens
cssComponent Transitions
Pre-configured transitions for specific components:
cssStagger & Animation
cssVisual Effects
Backdrop blur and opacity constants for layered interfaces:
css3D Effects
Classic variant styling with realistic depth and elevation:
cssComponent Sizing
Icon and trigger sizing constants for consistent component proportions:
cssSpacing & Layout
Component gap and sizing constants for consistent spacing:
cssProgress & Slider
Animation and sizing constants for progress and slider components:
cssFocus & Accessibility
Focus outline and state opacity constants:
cssPositioning & Layout
Positioning and layout constants:
css