Guides
Animation, done properly.
- guides
- 19
- topics
- 5
- last updated
- 14 Nov 2026
LatestBuild it
Build an Animated Number Counter in React That Counts Up on Scroll
Count numbers up when they scroll into view in React with Motion: smooth formatting with Intl, no layout shift, screen-reader friendly, reduced motion, and a CSS-only version.
Read the guide 6 min read
Every guide
Pick a topic, or start anywhere.
Accessibility·6 min read
How to Respect prefers-reduced-motion in React
What the reduced motion setting does, how to read it in CSS and in React with Motion, what to keep and what to remove, and how to test it.
Read guideBuild it·7 min read
Build an Animated Landing Page in Next.js with Tailwind and Motion
Step by step: set up Next.js, add animated hero, features, testimonials and pricing sections, keep it fast and accessible, and ship it.
Read guideAccessibility·6 min read
Accessible Animation: A WCAG 2.2 Checklist for React
The WCAG 2.2 success criteria that apply to animated interfaces, what each one means in practice, and how to meet it in React.
Read guideFundamentals·9 min read
Motion (Framer Motion) vs CSS Animations in React: Which to Use When
Should you animate with CSS or Motion (Framer Motion) in React? Compare performance, bundle size, springs, exits and gestures, with code for both.
Read guideFundamentals·7 min read
Scroll Animations in React: whileInView, useScroll and IntersectionObserver
Three ways to animate on scroll in React: reveal with whileInView, follow scroll position with useScroll, or use IntersectionObserver directly.
Read guidePerformance·6 min read
Animated Backgrounds in React Without Hurting Performance
Build animated React backgrounds that stay smooth: choosing CSS, SVG or canvas, pausing off screen, sharp retina drawing and reduced motion.
Read guideBuild it·6 min read
How to Build an Animated Terminal in React
Build a terminal that types commands, prints output and resolves spinners in React: the data model, one timer, a human typing rhythm and accessibility.
Read guideEffects·7 min read
WebGL Shader Backgrounds in React, Without three.js
Render an animated shader background in React with plain WebGL: one triangle, a fragment shader, time and pointer uniforms, and the performance details.
Read guideBuild it·6 min read
How to Make a GitHub-Style Contribution Graph in React
Build a GitHub-style activity heatmap in React: days in week columns, colour levels, month labels, a fill-in animation, keyboard support and GitHub data.
Read guideFundamentals·6 min read
Spring Animations in React: Stiffness, Damping and Mass
How spring animations work in React: what stiffness, damping and mass do, how to choose values in Motion, plus a live spring you can tune and copy.
Read guideFundamentals·6 min read
Easing Functions Explained: cubic-bezier in CSS and Motion
What easing curves are, what ease-in, ease-out and ease-in-out really mean, how cubic-bezier works and which curve to use when, with a live curve editor.
Read guideFundamentals·5 min read
Stagger Animations in React with Motion
How to stagger animations in React with Motion's stagger(): lists, grids and text, starting from the first, last or centre item, and how long to make them.
Read guideEffects·7 min read
How to Make a Liquid Glass Effect in React
Build a liquid glass panel in React: a backdrop blur, inner shadows for thickness, a rim of light that follows the pointer, and text that stays readable.
Read guidePerformance·7 min read
Animated Hero Sections in Next.js That Stay Fast
Build an animated hero section in Next.js that keeps a good Core Web Vitals score: server-rendered text, a client background, no hidden headlines.
Read guideBuild it·8 min read
Page Transitions in the Next.js App Router with View Transitions
Animate between pages in the Next.js App Router with React's ViewTransition: shared element morphs, directional slides, a fixed header and reduced motion, plus when Motion still helps.
Read guideFundamentals·7 min read
Custom Animations in Tailwind CSS v4: Keyframes, Easing and Enter Effects
Add custom animations in Tailwind CSS v4 with @theme: keyframes, animate-* classes, custom easing curves, enter animations with starting:, reduced motion, and when to switch to Motion.
Read guideFundamentals·7 min read
Exit Animations in React: AnimatePresence and Why Yours Isn't Working
Why Motion's exit animations don't play and how to fix them: where AnimatePresence goes, keys, mode="wait" and popLayout, lists, Next.js routes, and CSS-only exits for dialogs.
Read guideFundamentals·5 min read
Migrating from Framer Motion to Motion: What Changes
Framer Motion is now Motion. How to switch packages, update imports to motion/react, use Motion in Next.js Server Components, and keep your bundle small.
Read guideBuild it·6 min read
Build an Animated Number Counter in React That Counts Up on Scroll
Count numbers up when they scroll into view in React with Motion: smooth formatting with Intl, no layout shift, screen-reader friendly, reduced motion, and a CSS-only version.
Read guide
About these guides
They come from the questions that come up while making animated interfaces properly: when to use CSS and when to use Motion, how to animate on scroll, how to keep animated backgrounds fast, how to respect people who turn on reduced motion, which WCAG 2.2 criteria apply to moving interfaces, and how to build an animated landing page in Next.js. Each guide has working code you can copy, and links to the components that put it into practice.