Skip to main content
Context GrammarContext-aware AI

Duration and easing tokens

Five durations and four curves, mirrored from the stylesheet into lib/design/tokens.ts and kept in step by a test. New motion names a token instead of writing a number.

Motion tokens
--dur-instant100ms
--dur-quick160ms
--dur-base240ms
--dur-move380ms
--dur-stage560ms
--ease-outcubic-bezier(0.16, 1, 0.3, 1)
--ease-incubic-bezier(0.55, 0, 1, 0.45)
--ease-in-outcubic-bezier(0.65, 0, 0.35, 1)
--springcubic-bezier(0.34, 1.56, 0.64, 1)