How to write motion rules a developer can use
Most brand guidelines describe motion in adjectives. Write easing curves and durations instead: four numbers and a time per curve, with CSS to paste.
Open a few brand guidelines and look for the motion section. Many do not have one. The ones that do tend to say "transitions should feel smooth and premium, never too fast". A developer cannot implement that sentence, so they pick a default, and the brand moves like every other site.
Motion is the part of a brand that is easiest to write down exactly, because it is already numbers.
What a motion rule needs
Two things describe how one element moves: how long it takes, and how its speed changes over that time. The second is the easing curve (opens in a new tab), which varies the speed over the duration. In CSS, a curve is four numbers in cubic-bezier(x1, y1, x2, y2), and the duration is in milliseconds.
transition: transform 560ms cubic-bezier(0.22, 1, 0.36, 1);That line is a complete motion rule. Anyone can paste it, and two developers will produce the same movement.
Keep the set small
You do not need a curve for every element. A short list, each with a name and a job, is easier to follow than a long one. Pulsebook's own guideline uses four:
- Pulse:
cubic-bezier(0.34, 1.56, 0.64, 1)over 420 ms, for confirmations and the active dot. It is the only curve that overshoots. - Glide:
cubic-bezier(0.22, 1, 0.36, 1)over 560 ms, for entrances on scroll and panels opening. Fast start, long settle. - Snap:
cubic-bezier(0.65, 0, 0.35, 1)over 240 ms, for anything the user does: tabs, toggles, reorder. - Fade:
cubic-bezier(0.4, 0, 0.2, 1)over 160 ms, for hover colour and underlines.
Each curve has a name, four numbers, a time and one sentence about when to use it. At a glance:
| Curve | Easing | Duration | Use |
|---|---|---|---|
| Pulse | cubic-bezier(0.34, 1.56, 0.64, 1) | 420 ms | Confirmations and the active dot |
| Glide | cubic-bezier(0.22, 1, 0.36, 1) | 560 ms | Entrances on scroll and panels opening |
| Snap | cubic-bezier(0.65, 0, 0.35, 1) | 240 ms | Anything the user does |
| Fade | cubic-bezier(0.4, 0, 0.2, 1) | 160 ms | Hover colour and underlines |
You can see all four, with live demos, in the guideline itself.
Say what each curve is for
A curve with no job gets used everywhere. The sentence next to it is what stops a team from using the bouncy curve on a page transition. If a curve is allowed to overshoot, say so, and say where. If nothing else may overshoot, say that too.
Add a stagger and a personality
When several things enter together, the delay between them matters as much as the curve. A stagger rule is one number: the milliseconds between one item and the next. A line about the overall character, such as calm or brisk, helps a designer choose between two curves that both fit.
Respect reduced motion
Some people ask their device to reduce motion (opens in a new tab). A guideline should say what happens then: movement is removed or shortened, and colour or opacity changes can stay. In CSS that is a media query:
@media (prefers-reduced-motion: reduce) {
* { transition-duration: 1ms; animation-duration: 1ms; }
}WCAG 2.2 covers this in success criterion 2.3.3, Animation from Interactions (opens in a new tab), a Level AAA criterion: non-essential motion triggered by interaction should be possible to turn off. Writing the rule into the guideline means it is a decision, not something each developer remembers or forgets.
Publish the numbers where tools can read them
A motion rule in a PDF has to be retyped. The same rule in a published guideline can be copied, and in a brand.json it can be read by a script or an AI assistant (see what brand.json is and how to give an AI agent your brand rules). Every published Pulsebook brand carries its motion tokens, with their curves, in its brand.json, and each curve copies as CSS, GSAP or motion code from the page.
A short checklist
- Name three to five curves, each with four numbers and a duration.
- Write one sentence on when each is used, and which one may overshoot.
- Give the stagger in milliseconds.
- Say what reduced motion does.
- Put the numbers where people and tools can copy them.
Put your brand on one link.
Draft three brands free. Publish the first one on us. Your client gets one address that stays right.