Guides on motion and UI.
Practical tutorials behind the components: how the animations work, how to make them accessible, and how to build them yourself.
- 7 min read
Why springs feel better than easing curves for UI toggles
A switch that eases over 200ms feels fine until you click it twice. Learn how spring physics fixes interrupted animations, how to tune stiffness and damping, and how to build a spring toggle in React with Motion.
Read guide - 8 min read
Building accessible tabs and segmented controls in React
How to build tabs that work with a keyboard and a screen reader: the right ARIA roles, roving tabindex, arrow keys, Home and End, plus a sliding indicator that stays smooth.
Read guide - 6 min read
Respecting prefers-reduced-motion in React animations
Some people get dizzy or nauseous from motion on screen. Learn what prefers-reduced-motion means, which animations to keep and which to remove, and how to support it in CSS and Motion.
Read guide - 7 min read
How to animate a list-to-grid layout change in React
Switching between list and grid view usually jumps. Learn how Motion's layout prop animates the change smoothly, how to avoid stretched text and rounded corners, and how to handle items entering and leaving.
Read guide - 7 min read
How a rolling number counter works, and how to build one in React
Build an animated number that rolls digit by digit like an odometer. Covers the vertical digit strip technique, keeping digits stable when the length changes, number formatting and screen reader support.
Read guide - 6 min read
How shadcn registries work: install makeui components with one command
Understand what happens when you run the shadcn CLI against a registry URL: what is fetched, where files go, how dependencies are installed, and how to customise and update components you own.
Read guide