The Framer Motion Crash Course || React Animation Library 2023

  Рет қаралды 76,913

Tom Is Loading

Tom Is Loading

Күн бұрын

Animated UI components for React, Tailwind CSS, Framer Motion & More ✨ www.hover.dev
Framer Motion is not only the simplest way to get up and running with animations in React JS, but also one of the most powerful. Trust me, I love it so much that I built an entire component library using it!
Today we're going to cover everything you need to go from "zero to hero". Your limitations are seriously just your imagination.
If there's anything I haven't covered in this video that you'd like me to cover, please don't hesitate to ask! I'm happy to do more break downs!
📚 Project Links
Code: github.com/TomIsLoading/frame...
Docs: www.framer.com/motion/
🔗 My Links
TikTok: / tomisloading
Instagram: / tomisloading
GitHub: github.com/TomIsLoading
Twitter: / tomisloading
Discord & more: linktr.ee/tomisloading
Portfolio templates: tomisloading.gumroad.com/
Website: www.hover.dev
Timeline:
0:00 - Introduction
0:31 - Prerequisites to using Framer Motion
3:44 - Project setup & overview
5:33 - The "motion" component
11:34 - AnimatePresence & the exit prop
19:45 - Gestures (whileHover & whileTap)
25:44 - useAnimationControls
32:52 - View based animations (whileInView & useInView)
40:16 - Scroll based animations (useScroll, useSpring & useTransform)
50:44 - Wrapping up

Пікірлер: 139
@kaevindixon77
@kaevindixon77 5 ай бұрын
The fact that this video is free is mind boggling.
@BartLekens
@BartLekens 2 ай бұрын
This is one of the best courses out there on Framer Motion. Thank you, Tom. Respect.
@dukeselwood
@dukeselwood 5 ай бұрын
This is awesome thanks! Loving Framer Motion and you're a really good teacher
@miraclemark6120
@miraclemark6120 Ай бұрын
broo, those hover.dev components are insane!!!. well done man👏👏
@user-wu3hg3oh1p
@user-wu3hg3oh1p 4 ай бұрын
love the pace and energy! Keep up this good work buddy
@danieljohnson6481
@danieljohnson6481 7 ай бұрын
Really awesome video. Thank you! Subscribed, and bought the hover lifetime package. I really really appreciate the variety of design style in your components that is severELY lacking in other modern UI libraries for react
@tomisloading
@tomisloading 7 ай бұрын
Thank you so much, happy i can help!! 😁😭
@pablofernandezruiz8024
@pablofernandezruiz8024 8 ай бұрын
Thank you so much for this introductory vid! I would gladly appreciate a more in depth one covering what's missing in this one. Thank you again for delivering such great content 😄
@tomisloading
@tomisloading 8 ай бұрын
Thank you!! I’ll definitely do some deeper dive videos :)
@feeint5444
@feeint5444 7 ай бұрын
Thank you bro
@ustav_o
@ustav_o 5 ай бұрын
thats awesome. i thought it would be hard but with your explanations everything went like a breeze. thanks man!
@Franklin7x
@Franklin7x 2 ай бұрын
this course is awesome! Thank you very much for this content Tom. This blow my mind. 🤯
@berad6034
@berad6034 3 ай бұрын
Best Framer Motion tutorial I've ever used
@tomisloading
@tomisloading 3 ай бұрын
Thank you! :)
@hampusnilsson2389
@hampusnilsson2389 8 ай бұрын
Awesome! Thank you and WELL DONE!
@tomisloading
@tomisloading 8 ай бұрын
Thank you!! :)
@tatsumii1420
@tatsumii1420 7 ай бұрын
THANK YOU SO MUCH, i learned everything that i need about framer in one video
@tomisloading
@tomisloading 7 ай бұрын
Check out some of me other video! 😁
@jurentie
@jurentie 3 ай бұрын
This was such a helpful video. I've been playing around with these concepts all day. Thank you!
@tomisloading
@tomisloading 3 ай бұрын
Super happy to help! :)
@krailamohammedislam6822
@krailamohammedislam6822 6 ай бұрын
thank you so much bro, this is best framer motion course i seen on youtube so far.
@tomisloading
@tomisloading 6 ай бұрын
Happy you enjoyed it!! :)
@TheSynSan
@TheSynSan 8 ай бұрын
Thank you so much for compile all of this, really great video
@tomisloading
@tomisloading 8 ай бұрын
Thank you!! I’m happy it’s helpful :)
@bcb3548
@bcb3548 2 ай бұрын
De facto Framer Motion tutorial, hands down!
@MrNik0l0z
@MrNik0l0z 7 ай бұрын
Great video, to me everything was clear and the way you explained it, was super easy. Thanks!
@tomisloading
@tomisloading 7 ай бұрын
Thank you! 😁
@PETERFILM
@PETERFILM Ай бұрын
Thanks for this course! =)
@ferdousahmed7024
@ferdousahmed7024 4 ай бұрын
Bro, literally love your content! We want more and more videos regularly.
@tomisloading
@tomisloading 4 ай бұрын
Thank you so much!! Doing my best to get more videos out 😁
@germainst5603
@germainst5603 3 ай бұрын
pretty cool! thanks!
@tamerahmed9860
@tamerahmed9860 8 ай бұрын
Thank you Tom! Great efforts
@tomisloading
@tomisloading 8 ай бұрын
Thank you!! :)
@anonymous_dev9472
@anonymous_dev9472 3 ай бұрын
Awesome ❤
@sahilverma_dev
@sahilverma_dev 7 ай бұрын
Great video. Waiting for more advanced one 🙏🙏
@mdrifat6941
@mdrifat6941 8 ай бұрын
I am so so so much grateful. I am grateful that you kept my request. Thank you so very much for this video.
@tomisloading
@tomisloading 8 ай бұрын
Happy I can help!!
@rubenn6160
@rubenn6160 7 ай бұрын
Muchas gracias por este curso, gente como tu es lo que necesita yt Aunque estaria bien que hagas unos cuantos proyectos usando framer Thank you i dont speak english well yet
@prashlovessamosa
@prashlovessamosa 8 ай бұрын
Thanks for sharing.
@realg4947
@realg4947 Ай бұрын
unintentionally funny yet entertaining to watch
@umiverse220
@umiverse220 4 ай бұрын
Thank you youtube algorithm for giving me a chance to watch this incredible tutorial video.
@developedbymighty
@developedbymighty 4 ай бұрын
Thanks for this video man
@alexbx9
@alexbx9 6 ай бұрын
This video is amazing bro 🔥. Keep it up!
@tomisloading
@tomisloading 6 ай бұрын
Thank you!!! 😁
@Gleibercoelho
@Gleibercoelho 5 ай бұрын
thank you for share your knowledge
@SUNGWONG5
@SUNGWONG5 3 ай бұрын
amazing content and help me a lot
@chaipanch98
@chaipanch98 8 ай бұрын
Thank you so much...i learned alot from this video. Please post more...would lovce to learn more
@tomisloading
@tomisloading 8 ай бұрын
Thank you, I will!!
@lazimisntcool8721
@lazimisntcool8721 6 ай бұрын
Thanks for superb intro to framer motion, Hope you will make advanced animation tutorial in future, best of luck 🎉
@dukeselwood
@dukeselwood 5 ай бұрын
I think you'd like the AutoTag plugin for VS Code. When you rename an element it automatically renames its paired one
@funenjoynilaypatel4553
@funenjoynilaypatel4553 5 ай бұрын
amazing
@n2duc
@n2duc 8 ай бұрын
Thanks for this course ! I love it❤ . I hope you guys can make a video for example 🤭
@tomisloading
@tomisloading 8 ай бұрын
Happy you enjoyed it!!
@hehimselfishim
@hehimselfishim 7 ай бұрын
i absolutely love your content man!
@tomisloading
@tomisloading 7 ай бұрын
Thank you!! 😁😁
@tomisloading
@tomisloading 7 ай бұрын
Thank you!! 😁😁
@markojovanovic165
@markojovanovic165 Ай бұрын
Nice introducton Tom! Subscribed to your channel.
@tomisloading
@tomisloading Ай бұрын
Appreciate it!! :)
@user-mn8gk9tv7k
@user-mn8gk9tv7k 8 ай бұрын
Great vid!
@tomisloading
@tomisloading 8 ай бұрын
Thank you! :D
@napoleon4328
@napoleon4328 3 ай бұрын
Thank You Pro
@ShaunDVine
@ShaunDVine 7 ай бұрын
Great video, just what I needed for a project that I am working on. Which Framer snippets extension are you using in VS. Code?
@ch.4940
@ch.4940 6 ай бұрын
Thank You So Much😍
@tomisloading
@tomisloading 6 ай бұрын
You're welcome 😊
@fightscene817
@fightscene817 8 ай бұрын
Incredible tutorial! Thank ..............I kindly request additional Framer Motion tutorials.
@tomisloading
@tomisloading 8 ай бұрын
That I can do 😁😁
@ronaldos3738
@ronaldos3738 7 ай бұрын
Nice, great explanation, new subscribed
@tomisloading
@tomisloading 7 ай бұрын
Thank you!! 😁
@techcheck3042
@techcheck3042 4 ай бұрын
Badass 😎
@tomisloading
@tomisloading 4 ай бұрын
😎
@cnikolov
@cnikolov 7 ай бұрын
This video is massively underated, I remember buying udemy course that was a lot worse than this video, thank you and hope you will continue producing an amazing content from what we can do I liked subscribed and shared!
@tomisloading
@tomisloading 7 ай бұрын
Thank you so much!!! Trying my best haha 😁😁
@sacrafixe6822
@sacrafixe6822 8 ай бұрын
thanks this cleard so much concepts i have one request can you make a horizontal web site i have been trying to make it using react-scroll and other libraries but it gets so glutched and lagy please it would be a huge help
@hauladv
@hauladv 8 ай бұрын
thanks you so much
@tomisloading
@tomisloading 8 ай бұрын
Of course! Happy it helps :)
@lucasgonzalez8313
@lucasgonzalez8313 8 ай бұрын
Awesome! I have a doubt with the different animations for different media query or devices
@tomisloading
@tomisloading 8 ай бұрын
Ooh, so different animations on different screen sizes would actually make a GREAT video! You could use a basic event listener on window size, but you could also use something like window.matchMedia. If you look up “Responsive animations with Framer Motion” on google you should find an article by Samuel Kraft which appears to give an outline of this (I haven’t read the full article haha)
@27sosite73
@27sosite73 7 ай бұрын
nice ty
@binodkhatri7738
@binodkhatri7738 Ай бұрын
really awesome lesson ! thanks. btw what is the theme name you are using in your vscode ?
@tomisloading
@tomisloading Ай бұрын
Andromeda!
@benfrese3573
@benfrese3573 4 ай бұрын
Thank you very much, nice tutorial so far and I can't wait to check the more complex stuff on your channel. One thing I want to give as feedback because I noticed it several times now in the first 12 minutes: you could skip over some of the more obvious things. For example showing us the CSS of the blue button again, later in the video, isn't necessary. I know it sounds nitpicky but the video is fast paced and these things break the flow a little bit and I'd assume pretty much anyone who watches a video like this knows how to style a button. I hope I could make clear that I mean no offense here :) Thanks again and taker care o/ EDIT: The fact that you wrote a whole library of components is such a huge plus for me btw because I can be sure that you present best practices here.
@tomisloading
@tomisloading 4 ай бұрын
Thank you for the feedback!! Genuinely appreciate it, still need to find the right balance 🙂
@benfrese3573
@benfrese3573 4 ай бұрын
@@tomisloading Content is already top-notch!
@mufcandika
@mufcandika 4 ай бұрын
please make video about using createBrowserRouter and AnimatePresence
@akadaygame8634
@akadaygame8634 3 ай бұрын
in framer motion, how to handle laggy for the first time.. when I access the web, and run the animation, before the animation start it's not really smooth.. but when I run it again, it's OK..
@opponion2821
@opponion2821 5 ай бұрын
Can anyone give me an advice pls. I have a row of elements each one has a small transition delay meaning they appear one after another one. I want to add whileHover effect of scale up the element but this effect is being affected by that transition delay. Idk how to fix this issue, been stuck with it for a while. Setting a specific transition for whileHover fixes when u hover over but after moving the cursor out, again transition delay will affect the time for element to get back to normal scale ;(
@studyhotspot9719
@studyhotspot9719 6 ай бұрын
Why is this channel so underrated???
@tomisloading
@tomisloading 6 ай бұрын
Haha thank you! Growing slowly but we’re getting there :)
@InfraUpdates-
@InfraUpdates- 5 ай бұрын
​​@@tomisloadingTo much noicy talk need to talk more smoothly and gradually
@malvoliosf
@malvoliosf 8 ай бұрын
My guess about color-transformations: you will like CSV values much more than RGB values. The transformation will feel more natural and less arbitrary. (Great video by the way.)
@tomisloading
@tomisloading 8 ай бұрын
Thank you!! Yea RGB probably doesn't feel the most natural for sure, going between hex values imo feels the cleanest since it's essentially just number to number haha. Fortunately works either way 😂
@malvoliosf
@malvoliosf 8 ай бұрын
@@tomisloading No, I mean that big changes in RBG (or hex values) produce a slightly transcendental effect, as the screen visits colors that have no apparent relationship with each other: “It’s blue, now it’s turquoise, now it’s green for some reason, now it’s getting red.” I believe (and I haven’t tested this) that if you specify CSV values, the effect will be more “getting less blueish and more reddish, while going from lightish to darkish”.
@Bh4ne
@Bh4ne 7 ай бұрын
Great video, was super easy, but the performance of the websites?
@tomisloading
@tomisloading 7 ай бұрын
Thank you! And performance is great! Like anything, you can overdo it haha, but for the most part
@degendev6633
@degendev6633 5 ай бұрын
are there different implementations involved if one were to use framer motion in the /app router instead of the /pages router for nextjs?
@tomisloading
@tomisloading 5 ай бұрын
For page transitions, but beyond that, none that I can think of :)
@degendev6633
@degendev6633 5 ай бұрын
@@tomisloading what about page transitions? could you elaborate more?
@tomisloading
@tomisloading 5 ай бұрын
​@@degendev6633 So Next 13 and lower used the pages router, and in the pages router, you've got access to _app and _document files which wrap all pages of the site. You can then add AnimatePresence around entire pages of your app and manage page transitions that way. Next 14s routing is a bit different, I believe you could do the same using the root layout file, though I haven't used 14 a whole lot yet so i might be a bit off. Code will probably be 99% the same, just a difference in where you put it haha
@degendev6633
@degendev6633 5 ай бұрын
@@tomisloading ah i see. thanks tom!
@niteshprajapat7918
@niteshprajapat7918 6 ай бұрын
Is this Framer motion course is enough to learn?
@theoniemann8042
@theoniemann8042 2 ай бұрын
hey very nice vid ! just wondering what is you vscode theme ?
@tomisloading
@tomisloading 2 ай бұрын
Andromeda!
@theoniemann8042
@theoniemann8042 2 ай бұрын
@@tomisloading thx so much
@F1mus
@F1mus Ай бұрын
Is your usage of springs correct? It seems really jumpy... I think React is recreating your spring on every render. I looked at the docs and it seems that you need to call set on the spring.
@riadqerimi6701
@riadqerimi6701 6 ай бұрын
Make one with pages and tell us how to use it change pages with animation
@iUmerFarooq
@iUmerFarooq 8 ай бұрын
Is it possible to use it with vue/nuxt
@tomisloading
@tomisloading 8 ай бұрын
No, but check out the package “motion one”! It’s by the same guy who built framer motion, different developer experience but creates the same awesome animations!
@arslanmuhammad4190
@arslanmuhammad4190 4 ай бұрын
Hi, Please Reply me is it Free library for animations?
@tomisloading
@tomisloading 4 ай бұрын
Hi, yes, Framer Motion is free and open source!
@salaheddinebenchraa6906
@salaheddinebenchraa6906 7 ай бұрын
Please!!! We want this to be free AGAIN!!!
@codePracticeId
@codePracticeId Ай бұрын
16:00
@isaiasc2620
@isaiasc2620 6 ай бұрын
Please reply to this comment. This VSCode Theme is cool, what is it?
@tomisloading
@tomisloading 6 ай бұрын
Andromeda!
@riccardopellegrino5447
@riccardopellegrino5447 7 ай бұрын
The number of ads is craaaaazy, thanks for the content though
@tomisloading
@tomisloading 7 ай бұрын
Oh weird, I just set it on auto haha, I’ll take a look at this!
@AbhiShake-pl3cf
@AbhiShake-pl3cf 3 ай бұрын
Is tom loading due to slow framer motion animations? :p
@karanbadhwar4113
@karanbadhwar4113 7 ай бұрын
Brother, Huge fan of your Work but a gentle and not at all negative criticism . but please speak slowly next time and speak clearly as it was hard to understand without subtitles, cause few words you were speaking like randomly but I had re watch certain parts mutliple times.
@catalincatalin4101
@catalincatalin4101 6 ай бұрын
Try to change the playback speed to 0.75, I think it will be more enjoyable for you.
@karanbadhwar4113
@karanbadhwar4113 6 ай бұрын
@@catalincatalin4101 done, actually I completed the video at .85 speed but the problem was the words were dissolved as he was speaking it would have been better if he had been completing the words. But overall the content was good I managed to complete it though and thanks fir your advice too 🤗
@IamAgrocerybag
@IamAgrocerybag 3 ай бұрын
I had no issues understanding him at any point. Him speaking slower would detriment those of us with quick comprehension.
@karanbadhwar4113
@karanbadhwar4113 3 ай бұрын
@@IamAgrocerybag well bro happy for you but that doesn’t mean right if you understand it I have to understand it too. I was just stating my issue, as per your point there must be a lot of people who might have had the same issue as me so I was conveying my message
@TragicGFuel
@TragicGFuel 3 ай бұрын
​@@karanbadhwar4113it's not the fault of someone else that you cannot understand someone else's speech. He was speaking at a very normal pace, not fast at all.
@Gunz1234
@Gunz1234 5 ай бұрын
loved the video ❤ but 1 issue is that you sound nervous or really fast while speaking its nothing bad your explaining it really good but just that was something i didnt like 😅
@razarajpoot9811
@razarajpoot9811 5 ай бұрын
Amazing video. much appreciated. Like and sub done.
@ronitgurjar5747
@ronitgurjar5747 8 ай бұрын
Hey man...not gonna lie waiting for u to post this🔥🔥🤌🏻❤️🗿
@tomisloading
@tomisloading 8 ай бұрын
Haha heck yea!! Hope I did a decent job 😂
@ronitgurjar5747
@ronitgurjar5747 8 ай бұрын
@@tomisloading I am wonder i this is the start of a new series.....soon spline?
@tomisloading
@tomisloading 8 ай бұрын
@@ronitgurjar5747 Ooo that's not a bad idea 🤔
@ronitgurjar5747
@ronitgurjar5747 8 ай бұрын
@@tomisloading heck yeah 🔥🔥🔥 can't wait 🔥
@criztiandev
@criztiandev 8 ай бұрын
Do you have discord sir ?
@tomisloading
@tomisloading 8 ай бұрын
Hey, I do! Just realized it isn’t linked here haha, I’ll add it when I’m back at my computer!
@tomisloading
@tomisloading 8 ай бұрын
Just added the link to the description!
Framer Motion (React) - The Basics
17:07
rithmic
Рет қаралды 18 М.
Динамический запуск анимаций Framer Motion по viewport
19:57
Михаил Непомнящий
Рет қаралды 27 М.
WHO DO I LOVE MOST?
00:22
dednahype
Рет қаралды 22 МЛН
La revancha 😱
00:55
Juan De Dios Pantoja 2
Рет қаралды 38 МЛН
I Built a Shelter House For myself and Сat🐱📦🏠
00:35
TooTool
Рет қаралды 31 МЛН
Watermelon Cat?! 🙀 #cat #cute #kitten
00:56
Stocat
Рет қаралды 24 МЛН
Complex Animations with Framer Motion & React || useAnimate Hook
13:48
Next js 15 is Here… New Changes Again?!
8:13
JavaScript Mastery
Рет қаралды 104 М.
8 TailwindCSS Classes I Wish I Found Earlier
4:48
Tom Is Loading
Рет қаралды 70 М.
I Redesigned the ENTIRE Spotify UI from Scratch
19:27
Juxtopposed
Рет қаралды 1 МЛН
Layered Parallax Scroll with React & Framer Motion
12:46
Tom Is Loading
Рет қаралды 40 М.
10 Tailwind Tricks You NEED To Know!
10:45
Ravi - Perfect Base
Рет қаралды 268 М.
tRPC, gRPC, GraphQL or REST: when to use what?
10:46
Software Developer Diaries
Рет қаралды 69 М.
I Made a Neural Network with just Redstone!
17:23
mattbatwings
Рет қаралды 541 М.
The Story of Next.js
12:13
uidotdev
Рет қаралды 544 М.
State Managers Are Making Your Code Worse In React
13:33
Web Dev Simplified
Рет қаралды 154 М.
keren sih #iphone #apple
0:16
Muhammad Arsyad
Рет қаралды 1,5 МЛН
ВЫ ЧЕ СДЕЛАЛИ С iOS 18?
22:40
Overtake lab
Рет қаралды 95 М.
Iphone or nokia
0:15
rishton vines😇
Рет қаралды 1,6 МЛН
AI от Apple - ОБЪЯСНЯЕМ
24:19
Droider
Рет қаралды 106 М.