Motion
One rule: nothing overshoots. Motion decelerates into place on a small family of curves, and when content changes, the box it lives in changes shape rather than being swapped.
Curves
Every animation in the system uses one of four curves. Glide does almost all the work: it starts fast and settles slowly, so things feel placed rather than thrown. The others exist for the jobs glide does badly.
ease-glideease-softease-outease-linearDurations
Durations scale with distance. A colour change is instant-feeling at 340ms; a box travelling or changing height needs 600ms to read as one continuous shape. Anything over a second is ambient, like the drift of light, or a reveal on first load.
| Token | Value | Used for |
|---|---|---|
| --au-dur-quick | 220ms | The press on a button. |
| --au-dur-base | 340ms | Colour and opacity. The ask bar rolling its text. |
| --au-dur-moderate | 460ms | Border and background on hover. |
| --au-dur-glide | 600ms | Height, position, the segmented indicator. |
| --au-dur-slow | 900ms | Content arriving on scroll. |
| --au-dur-reveal | 1400ms | A rule drawing in. The beam striking down. |
| --au-dur-hold | 840ms | How long a hold to confirm takes. A safeguard, not decoration. |
| --au-dur-drift | 12000ms | One slow cycle of ambient light. |
Morph
The one motion primitive the rest is built from. The container keeps its place and glides from its old height to its new one over 660ms, while the old contents fade out in 300ms and the new ones fade in, 140ms later. Nothing jumps, and nothing is replaced with a flash.
Read the full pattern, including when not to morph, on Morph.
Reduced motion
When someone asks for reduced motion, movement stops but meaning doesn’t. Rules appear already drawn, morphs become instant swaps, and the hold to confirm still requires a hold, shortened to 380ms, because it is a safeguard rather than decoration.
In code
.drawer {
transition: height var(--au-dur-glide) var(--au-ease-glide);
}
.card {
transition:
border-color var(--au-dur-moderate) var(--au-ease-soft),
transform var(--au-dur-glide) var(--au-ease-glide);
}import { Morph } from './aurora';
<Morph contentKey={phase}>
{phase === 'offer' ? <SuggestionCard {...s} /> : <ExecutionSteps steps={s.steps} />}
</Morph>