System
Motion
Motion is a set of durations and easings with a reduced variant for each transition. Click a track to feel three of the registry's sets side by side.
Three speeds
A motion set is a few durations and easings, chosen for how a product should feel. Snappy is for dense tools, productive is plain's, and expressive overshoots on purpose.
click a track
Transitions in use
Components never write a duration. They take a class,
virtu-motion-enter or virtu-motion-hover, and the set decides how long it runs and how it eases.productive
Rename
Duplicate
Move to archive
Reduced motion
Every transition has a reduced variant that moves nothing. When the reader asks for less motion, only color and opacity change, and Virtu's check fails a set that forgets one.
| Transition | Animates | Reduced |
|---|---|---|
| hover | background-color, border-color | background-color, border-color |
| emphasis | color, background-color | color, background-color |
| enter | opacity, transform | opacity |
| exit | opacity, transform | opacity |
| expand | height, opacity | opacity |