


Framer Motion Recipes
Taught by
Sam Selikoff
Framer Motion is a popular React animation library. It features both declarative and imperative APIs, so you can add common animations in just a few lines of code, or drop down a level to build truly custom effects. It's maintained by Framer, has an active community, and follows the latest best practices used in the React ecosystem.
In this course you'll learn Framer Motion from scratch by building six animated components. You'll start with the fundamentals of state-based animation, learn how to animate an unmounting component, create a reusable hook that can animate style properties on scroll, and use dynamic variants to customize an animation based on component state.
Lessons
Lesson 216:43
Add animation to unmounting elements using the versatile AnimatePresence component.
Lesson 318:54
Use scroll-based animation to smoothly grow and shrink a fixed header.
Lesson 417:08
Add a fading nav and a blurred background effect by extracting a reusable Hook.
Lesson 514:00
Learn how to use the `x` shorthand property to smoothly animate an image container.
Lesson 622:04
Use an animated aspect ratio to create a navigation bar inspired by iOS Photos.



Buy Framer Motion Recipes
Add beautiful animations to your React apps using Framer Motion.
Buy the course
$99one-time payment
Get everything in Framer Motion Recipes.
- 3+ hours of video
- 8 lessons
- Private Discord
- Summaries with code
- Unlimited access to course materials
Lifetime membership
$249
Lifetime access to all current and future premium Build UI courses, forever.
- Courses on Framer Motion, Tailwind, and Remix
- New videos added weekly
- Refactoring videos on React
- Private Discord
- Summaries with code
- Full access to all future Build UI courses
What's included
Stream or download every video
Watch every lesson directly on Build UI, or download them to watch offline at any time.
Live code demos
Access to a live demo of each lesson that runs directly in your browser.
Private Discord
Chat with Sam, Ryan and other Build UI members about the lessons – or anything else you're working on – in our private server.
Video summaries with code snippets
Quickly reference a lesson's material with text summaries and copyable code snippets.
Source code
Each lesson comes with a GitHub repo that includes a diff of the source code.
Invoices and receipts
Get reimbursed from your employer for becoming a better coder!