Playbook · AI & Search
20 rules that make an app feel good to use
The 12 animation principles and 8 laws of how people use screens, in plain words, each with one thing to try in your app. Plus a free Claude skill.
What's inside
- The 12 classic animation principles, applied to buttons, menus and screens
- 8 laws of how people use interfaces, from Fitts's law to Jakob's law
- One small thing to try in your own app for every rule
- A free skill that makes your AI coding agent follow these rules
- Three prompts to check, build and fix how your app feels
Sections
- The free skill that knows all of this
- How things should move
- Speed, shape and feedback (unlocks after sign-up)
- Depth and care (unlocks after sign-up)
- Where people click (unlocks after sign-up)
- How people think and act (unlocks after sign-up)
- Put the rules to work (unlocks after sign-up)
- Where this comes from (unlocks after sign-up)
Some apps do everything right and still feel cheap. Usually it's the small stuff: how a button reacts when you press it, how long a menu takes to open, how far your thumb has to travel.
These 20 rules cover that small stuff. The first 12 are the classic principles of animation, applied to buttons, menus and screens. The last 8 are laws of how people use interfaces. Each one comes in plain words, with one thing to try in your own app.
The free skill that knows all of this
github.com/raphaelsalaja/userinterface-wiki
userinterface-wiki is a free skill file with 152 rules across 12 categories, covering animation, interfaces, sound and type. Add it, and your AI coding agent builds and reviews screens with these rules in mind.
Add it with one command in your terminal:
npx skills add raphaelsalaja/userinterface-wiki
It works in Claude Code, and also in Codex, Cursor and other coding agents.
Who made it. Raphael Salaja, who writes userinterface.wiki. It's free and open source under the MIT licence. We didn't make it, we just like it.
How things should move
1. Squash and stretch
Things squish a little when they land and stretch when they move fast. It makes them feel soft and real.
Try: when a button is pressed, shrink it a touch and let it spring back.
2. Anticipation
A small move the other way, just before the main move, tells people what's about to happen.
Try: a send arrow pulls back a few pixels before it flies off.
3. Staging
One thing at a time. If everything moves at once, the eye doesn't know where to look.
Try: when a card opens, dim what's behind it.
4. Pose to pose
Set the start and the end, and let the browser fill in the frames between them.
Try: define two states in CSS and use a transition, instead of animating every step by hand.
5. Follow through
When something stops, its parts keep going for a moment, then settle.
Try: a small spring on the contents of a panel that slides in.
Get the rest of this playbook, free
Enter your email to unlock the full playbook. One sign-up unlocks every playbook in the Founder Library.
We'll email you new playbooks and occasional updates from Growthino. Unsubscribe any time. See our privacy policy.
Speed, shape and feedback
6. Slow in, slow out
Real things speed up and slow down. Nothing moves at one flat speed from start to end.
Try: ease-out for things coming in, ease-in for things leaving.
7. Arcs
In the real world, things move on curves, not straight lines.
Try: an item added to the cart travels there on a gentle curve.
8. Secondary action
A small extra motion that backs up the main one, without stealing the show.
Try: a tiny burst when someone taps the like button.
9. Snappy timing
Interface motion should be quick. Keep it under 300 ms, or the app starts to feel slow.
Try: time your menus and toggles, and cut any that drag.
10. Exaggerated feedback
Push feedback a little past real, so nobody misses it.
Try: a wrong password gets a short shake and a clear message, not just a red border.
Depth and care
11. Solid drawing
Give flat things depth with light, shadow and perspective.
Try: a soft shadow that moves with a card as it turns.
12. Appeal
Care in every small detail is what makes an app a pleasure to use.
Try: go through your toggles, buttons and empty states one by one. Would you be proud of each?
Where people click
13. Fitts's law
A target is faster to hit when it's big and close to where you already are.
Try: make the main button big, and put it near the thumb or the cursor.
14. Bigger hit areas
The clickable zone can be bigger than the thing you see.
Try: give small icons, like a close button, a larger invisible hit area, especially on phones.
15. Hick's law
The more choices you show, the longer it takes to pick one.
Try: show the few actions people use most, and tuck the rest under "More".
How people think and act
16. Miller's law
People can only hold a few things in mind at once, so break long information into chunks.
Try: show codes and long numbers in groups of three or four.
17. Doherty threshold
Respond within 400 ms and people stay in the flow.
Try: show something at once, like a check mark or a placeholder, even when the real work takes longer.
18. Postel's law
Accept messy input, give back clean output.
Try: let people type "dec 3" in a date field, and turn it into a proper date.
19. Jakob's law
People spend most of their time in other apps, so work the way those apps do.
Try: cart at the top right, logo at the top left, search at the top.
20. Frequency of use
The more often something is used, the less it should animate.
Try: a menu people open all day should appear instantly.
Put the rules to work
Once the skill is added, just ask your coding agent. Three prompts to start with.
Check what you have:
Review the animations in this component against the userinterface-wiki rules
Build it right the first time:
Build a dropdown menu for the header, and follow the userinterface-wiki rules for timing and easing
Fix the feel:
This settings page feels slow. Check it against the rules and fix the worst three things
Where this comes from
The rules and the skill come from Raphael Salaja's userinterface-wiki on GitHub, read on 24 Nov 2026. Beyond the 20 here, the skill also covers springs, easing curves, morphing icons, sound feedback, type, and how fast an app feels.