On-Scroll Reveal Animation with React & Framer Motion

Поділитися
Вставка
  • Опубліковано 7 вер 2024
  • Animated UI components for React, Tailwind CSS, Framer Motion & More ✨ www.hover.dev
    Let's make a reusable reveal animation, triggered on scroll, using React and Framer Motion!
    📚 Project Links
    live version: steam-portfoli...
    code: tomisloading.g...
    🔗 My Links
    TikTok: / tomisloading
    Instagram: / tomisloading
    GitHub: github.com/Tom...
    Twitter: / tomisloading

КОМЕНТАРІ • 87

  • @hauvert_
    @hauvert_ Рік тому +6

    Subscribed. The voice and straight forward method of the tutorial is perfect. Sounds like it's playing x2 speed which is great. No wasting time.

  • @user-ty2vu2cr5v
    @user-ty2vu2cr5v 11 місяців тому +4

    You're awesome dude, I appreciate the straightforward content. No bs.

  • @akshatdubey4421
    @akshatdubey4421 5 місяців тому +1

    Simple and straight to the point. Great video!

  • @jackson159
    @jackson159 9 місяців тому +2

    Very good Video and well explained, thank you so much for your Effor. Cant wait for other Videos!

  • @KappaEducation
    @KappaEducation 4 місяці тому +3

    You got a subscriber. I always loved animation in webdev, and I can't wait to explore your channel and all the resources you are posting about.

  • @sinamaleki3908
    @sinamaleki3908 Рік тому +50

    the code is not free ;)

  • @tomisloading
    @tomisloading  Рік тому +3

    Hey guys!!! Super quick note: Unfortunately the template is no longer free 😔 I do have good reason for it though!! 👇
    From the response that I’ve received between this video + one similar that I posted on TikTok, I’ve realized that portfolio templates are significantly more useful to a lot of you guys than I originally anticipated (hundreds of people have downloaded the template, many of which have messaged me letting me know how much it’s helped) 

This is amazing.
    Because of this, I’ve decided to spend a bunch of time building out a whole bunch of these templates for you guys to use and hopefully help you land some jobs!
    That said, each of template takes 20+ hours to design and build.
    Making these a paid product seems like the absolute best way I’ve come up with to both provide value back to the community, as well as support the amount of time it takes to make my videos. I’ve considered courses since that’s the normal course of action for creators, but I really like the idea of keeping all of my content as free as possible.
    I’ll be posting a second template (my personal portfolio that I used in my last job search) in the next couple of days, followed by another that I’m working on in a week or two.
    I’ve turned on PPP in GumRoad, so pricing should adjust based on your countries cost of living :)
    Sorry again if you missed the window of this being free, I really hope I can build something cool here that can help thousands of developers in their job search!

    • @bhuvya11
      @bhuvya11 Рік тому

      bro i can understand your pint but i cant afford it i am a student please can you give me this template for free

  • @VinayakSoni98
    @VinayakSoni98 3 місяці тому +1

    Thank You Tom.

  • @muhammadabduhsiregar9190
    @muhammadabduhsiregar9190 6 місяців тому +1

    much love bro! thank you so much

  • @davewaterman
    @davewaterman 11 місяців тому

    You explained this really clearly, thank you! Teaching seemed to come naturally.

  • @SulagnoGhosh
    @SulagnoGhosh 2 місяці тому +1

    you're actually too good

  • @thanhluannguyen7263
    @thanhluannguyen7263 5 місяців тому +1

    This is so awesome tutorial. Thank you so much! :>

  • @sabricharim1526
    @sabricharim1526 10 місяців тому +1

    This product supports purchasing power parity. Because you're located in Algeria, the price has been discounted by 60% to $6.

  • @monyetbesar
    @monyetbesar Рік тому +3

    Great video man, well explained and easy to follow. Subbed!

  • @Solo_playz
    @Solo_playz 5 місяців тому +1

    Thank you man you really explained it well even though I'm able to understand this framer thing in one video means you deserve 🏆
    😂 Thanks again 👍🏼

  • @andri21
    @andri21 10 місяців тому +1

    Thanks Tom! Well explained.

  • @soulnex8457
    @soulnex8457 5 місяців тому +1

    Thank you man. Very helpful.

  • @sebastiancastillo3560
    @sebastiancastillo3560 9 місяців тому +1

    Amazing! thank you Tom!!

  • @alirezanikzad3383
    @alirezanikzad3383 4 місяці тому +1

    you explain it so nice ty so much

  • @tejas498
    @tejas498 7 місяців тому +1

    Great and informative video. In my current project, I made a sidebar; everything is working perfectly fine except one thing. In your above web application, when you scroll to the About section, the About in the sidebar is highlighted. When you scroll to projects, the project in the sidebar is highlighted, and so on. I want to achieve the same thing in my current project. Can you please suggest something and explain how you did this? I am using React.js. Thanks.

  • @ashrafsayed6639
    @ashrafsayed6639 5 місяців тому +1

    you are perfect brother keep going

  • @mssprakashyashwanth4839
    @mssprakashyashwanth4839 9 місяців тому +1

    Great video, I wonder how you caught up with such an astonishing design

  • @AndersonLenz
    @AndersonLenz 6 місяців тому +1

    Thanks man!

  • @xtrataomedia
    @xtrataomedia 4 місяці тому +1

    Love this

  • @erikslagter3231
    @erikslagter3231 4 місяці тому +1

    Fun animation!

  • @BudetSvobodnoy
    @BudetSvobodnoy 6 місяців тому +1

    Really helpful, thanks!

  • @birigu
    @birigu 2 місяці тому +1

    Thanks so much

  • @faculogos9655
    @faculogos9655 Рік тому +4

    Hi Tom! I'm finishing my portfolio adding some animations thanks to your tutorials. Thank you so much! I'm very anxious to show it to you very soon. Here is something I couldn't found out and wanted to ask:
    1) This is not a question, but I founded I could do the same with " whileInView='visible'. Meaby this function wasn't eable when you made your video.
    2) Even though, a want to do this: when the element gets out from the viewport because I scrolled down, I want it to stay animated (that would be "once: true"). But when I come back to the top of my page I want to reset the animations (that would be "once: false") so the elements animate again. I am adding a "isOnce" state, then a useEffect whith a window.addEventListener and saying: setIsOnce (window.scrollY > elementRectTop). But is not working (not with "whileInView" and not with "animate:{mainControls}". Can you give me your opinion? Thank you again!

  • @shanemur
    @shanemur 11 місяців тому +1

    More advanced tutorials on Framer Motion please!

    • @tomisloading
      @tomisloading  11 місяців тому

      Check out my last few videos! 😁

  • @masterTimon01
    @masterTimon01 11 місяців тому +1

    Thank you very much sir!!

  • @MDTalha-vt9bi
    @MDTalha-vt9bi 7 місяців тому +2

    nice

  • @uridevmedia
    @uridevmedia 3 місяці тому +1

    Wow nice

  • @jaysp303
    @jaysp303 2 місяці тому

    Why taking 2 animation controller, we can do that also with 1 animation controlller

  • @wolfmeowmeow
    @wolfmeowmeow 8 місяців тому +1

    Simple easy quick

  • @wiramaharddhika
    @wiramaharddhika 10 місяців тому

    thanks for sharing, save me hours

  • @LuiferGomez
    @LuiferGomez Рік тому

    Bro, thank you!

  • @born2die827
    @born2die827 3 місяці тому

    any idea why useEffect is executing, even if I'm not in view?

  • @moshood-debug
    @moshood-debug 8 днів тому

    The portfolio is not free now , but nice video

  • @dictatorgaming625
    @dictatorgaming625 2 місяці тому

    Just Nicksindian doing his side jobs 😂😂

  • @Kolpona_kitchen
    @Kolpona_kitchen Рік тому

    thank you very much ♥♥♥

  • @pavel294
    @pavel294 Рік тому

    Thanks for sharing :-) Love it

  • @hemmyhteccreatives5886
    @hemmyhteccreatives5886 2 місяці тому

    It doesn't works with image.
    What is the solution?

  • @mohamedhesham9192
    @mohamedhesham9192 Рік тому

    great stuff man

  • @attilalakatos7029
    @attilalakatos7029 5 місяців тому

    Does the framer motion have any impact on SEO?

  • @janekskr4259
    @janekskr4259 Рік тому

    Amazing video!

  • @FascalRanky
    @FascalRanky 8 місяців тому

    Curious as to why you didn't use Framer's whileInView property?

  • @SUNGWONG5
    @SUNGWONG5 4 місяці тому

    cooooooool!

  • @inderjotsingh5868
    @inderjotsingh5868 7 місяців тому +1

    awesome ,

  • @olusolaakindoju3811
    @olusolaakindoju3811 Рік тому

    Thanks a lot

  • @sudsierspace9010
    @sudsierspace9010 Рік тому

    Pretty good video thanks for the content. ;)

  • @kissslayyy
    @kissslayyy 6 місяців тому

    hey color section of div isnt working for me

  • @M3rkdbyaSKIRT
    @M3rkdbyaSKIRT Рік тому +3

    Hi! Your template is beautiful. I decided to use it for my portfolio and i would like to give credit when i deploy it. Is there any other social media that you would like me to include? Ill probably end up posting on LinkedIn and Twitter. let me know! 💜

    • @tomisloading
      @tomisloading  Рік тому +1

      Thats awesome!! So happy I can help :) Just UA-cam or TikTok would be fantastic, thank you!!! :D

    • @bhuvya11
      @bhuvya11 Рік тому

      hi bro can you give me the template because its paid right now

    • @bhuvya11
      @bhuvya11 Рік тому

      tell me your twitter handle i will ping you there

    • @CeezGeez
      @CeezGeez 10 місяців тому

      @@bhuvya11pay the guy geez

    • @nurudeenhamzah5011
      @nurudeenhamzah5011 8 місяців тому

      Can I get the template please, it’s paid right now

  • @user-ij1tu5jq9c
    @user-ij1tu5jq9c Рік тому

    !Thanks for sharing¡ :)

  • @agosolsgaming4036
    @agosolsgaming4036 Рік тому

    How can I do the same for animating text color while scolling back and forth

    • @LuLu_camp
      @LuLu_camp 9 місяців тому

      Use the useScroll to monitor the Y and useTransform to change the state...then inner style your element with the state in useTransform

  • @tasniabhuiyan4992
    @tasniabhuiyan4992 10 місяців тому

    How did you import Reveal into your file?

  • @joscript7846
    @joscript7846 Рік тому +3

    It's no longer free

  • @zgazenamacka2421
    @zgazenamacka2421 Рік тому

    I am a bit confused on how to make the animation repeat once I scroll off the element and back to it? Also my console shows only one state change from false to true and then never hits false again when I scroll off.

    • @tomisloading
      @tomisloading  Рік тому +2

      You'll need to set "once: false" in the useInView hook :)

    • @zgazenamacka2421
      @zgazenamacka2421 Рік тому

      @@tomisloading thanks I found it moments after posting a question hahah

    • @tomisloading
      @tomisloading  Рік тому

      @@zgazenamacka2421 Hahaha, happens to me all the time xD Happy you could figure it out!!

  • @nurudeenhamzah5011
    @nurudeenhamzah5011 8 місяців тому +2

    the template is no more free

  • @muhammadammad330
    @muhammadammad330 Рік тому

    Hi there Tom! How can I get the code of your project as you have mentioned its available for free? Please let me know!

    • @muhammadammad330
      @muhammadammad330 Рік тому

      How did you managed to make all the sections as children? I'm stuck at that point.

    • @pedrohenriquerocha8741
      @pedrohenriquerocha8741 Рік тому +1

      @@muhammadammad330 Hi man!! Have you already got it how it does? If you don't, I can help you with that.

    • @muhammadammad330
      @muhammadammad330 Рік тому

      @@pedrohenriquerocha8741 please assist...

    • @sohrabkhan101
      @sohrabkhan101 8 місяців тому

      @@pedrohenriquerocha8741 if you have shared it with me

  • @avgvstvs96
    @avgvstvs96 6 місяців тому +2

    $15? why

  • @picklenickil
    @picklenickil 28 днів тому

    You don't need framer for all this. This is basic animations the tradeoff of including this library, even after treeshaking is not in the positive.

  • @salehshakib5973
    @salehshakib5973 6 місяців тому +1

    its paid now :(

  • @seebsk6215
    @seebsk6215 Рік тому +1

    this is not a free code source :)

    • @tomisloading
      @tomisloading  Рік тому

      Hey! Sorry about that, check the pinned comment!

  • @abdulkadersafi
    @abdulkadersafi 2 місяці тому

    its not free, its 15 dollers

  • @abimbolapatrick2707
    @abimbolapatrick2707 11 місяців тому +1

    You talk too fast. Have it in mind that you're teaching beginners too

  • @vineetgoswami9954
    @vineetgoswami9954 Рік тому

    very rushed content, you are just talking to yourself and not explaining.....

  • @smsabbir1567
    @smsabbir1567 Рік тому +1

    my reepet animation not work
    plz help anyone
    "use client";
    import { motion, useInView, useAnimation } from "framer-motion";
    import { useEffect, useRef } from "react";
    const Reval = ({ children, width = "100%" }) => {
    const ref = useRef(null);
    const isInView = useInView(ref, { once: true });
    const mainControls = useAnimation();
    const sideControls = useAnimation();
    useEffect(() => {
    if (isInView) {
    mainControls.start("visible");
    sideControls.start("visible");
    }
    }, [isInView]);
    return (


    {children}



    );
    };
    export default Reval;