Transition
Duration, easing, and transition presets for smooth UI state changes.
Duration scale
Hover (or click) each track to watch the ball travel. The same easing
(--easing-default)
is applied across all four — only the duration changes.
150ms
250ms
400ms
600ms
Easing curves
Hover each card to see how the same 400ms duration feels with different cubic-bezier curves. Spring overshoots briefly — ideal for scale and position changes.
Balanced in/out. Use for most UI state changes.
Slow start, fast end. Use when exiting the screen.
Fast start, slow end. Use when entering the screen.
Overshoots then settles. Use for scale and position.
Property presets — hover to preview
Each preset transitions only the properties it needs — avoids the
performance cost of transition: all
while keeping the class surface small.
bg + text + border
easing-spring
easing-out
shadow + translateY
border + bg
width (hover card)
Usage patterns
Compose token variables inline for one-off transitions, or use the preset classes for recurring patterns.
Token reference
Defined in token.css → §11 TRANSISI.
Shared with the
Animation system.