Skip to main content

Search rules

Search all UI Guides rules by name, category, or source

animationsVercel

Never transition: all

MUST

MUST: Never transition: all. Explicitly list only the properties you intend to animate (typically opacity, transform)

Explicitly list only the properties you intend to animate

Bad

Good

Why it matters

Using transition: all is tempting but dangerous. It can accidentally animate properties you didn't intend to, causing performance issues and unexpected visual effects. Always explicitly list the properties you want to transition.

References

Built by Gleb Stroganov, design engineer at Evil Martians.

The rules come from other people's skills and guidelines — Vercel, Rauno Freiberg, @Ibelick, impeccable, Emil Kowalski, Tailwind, RAMS — each one credited on the Sources page. The work here is extraction and wiring: every rule is pulled into one corpus, given a good and a bad example you can operate, a MUST/SHOULD/NEVER rule an agent can paste, and a link back to where it came from.