Build a Smooth Scroll Cards Parallax with Framer Motion and Next.js

Поділитися
Вставка
  • Опубліковано 5 жов 2024

КОМЕНТАРІ • 107

  • @DeividasVasilevskis
    @DeividasVasilevskis 4 дні тому

    Thank you so much. I have looked for this animation for 2 days and finally I've found it. Your channel is incredible!

  • @TigrayPanda
    @TigrayPanda 10 місяців тому +18

    Your channel is criminally underrated. With consistency, It will surely reach 1M subscribers.

  • @bishamparacha1659
    @bishamparacha1659 10 місяців тому +7

    exactly what i needed, criminally underrated channel!!

  • @k40L1n
    @k40L1n 10 місяців тому +2

    Man, your video was so good. You have been blessed with making people understand things. Definitely replicating it.

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

    So awesome man! Please keep making such awwwards level tutorials 😭🙏

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

    another day another animation simplified. IDK why you are still underrated. Hats off

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

    Your articulation of the concepts, is amazing bro.

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

    Pro-tip: you can also pipe the useTransform value into a useSpring hook to add custom spring physics too your animations as well for some extra flair ✨

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

      can you give an example, please?

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

      100%! You can check it out here I did it for the mouse move: blog.olivierlarose.com/tutorials/3d-float-effect

  • @code.design
    @code.design 10 місяців тому +1

    Awesome!!! Hope you do a page transition tutorial soon.

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

      Yes coming soon!

    • @code.design
      @code.design 10 місяців тому

      @@olivierlarose1 Looking forward to that!

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

    Love your explanation. Really simple and understand. 💌

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

    well, i just want to say simply thank you for all videos..

  • @srinivasnahak3473
    @srinivasnahak3473 7 місяців тому

    You're literally a magician man!!

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

    Thanks for posting Olivier! Could you make a video on how to deploy next.js with framer motion apps this on Vercel?

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

    Your Explanation just awesome thanks brother

  • @mirjalol_nightmares
    @mirjalol_nightmares 7 місяців тому

    damn, this channel is sick. keep making pls

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

    Bro your small animation / transition videos are really great. To the point nice easy explanation.
    Can you make a unique portfolio using multiple of these animations/ transitions. It would be Great

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

      Yes hopefully I’ll make a portfolio, win an awwwards and show everything to you guys

  • @NOTHING-en2ue
    @NOTHING-en2ue 2 місяці тому

    great tutorial, thanks ❤

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

    Need awwwards level tutorials You are the best

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

    cool animation, thanks for sharing brother

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

    Can you make a video on media queries? Really in depth, about adapting design and animations for mobile devices, basically how you would adapt a page with so much design in it from a 16:9 likely device to a 9:16 device. Thank you man, you are awesome

  • @ramsem5151
    @ramsem5151 7 місяців тому

    Just Awesome 👍

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

    Very good animation. One thing i would suggest is a bit of zoom on the editor so it is easier to see the code. Seems a bit difficult to read. Fabulous work nevertheless.

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

    Thanks a lot for another very useful video buddy

  • @taoloveu
    @taoloveu 7 місяців тому

    Great video!

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

    Your channel is going to explode, sooner rather than later!
    I have a question though. When I try to use scrollYProgress I get an object. I need to use useMotionValueEvent to update a state to keep track of the changes of scrollYProgress. Why is my scrollY returning an object, rather than a value?

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

      Because the scrollYProgress is actually a MotionValue, which is an object. To extract the value out of it, you can do a scrollYProgress.get(). See more here: www.framer.com/motion/motionvalue/

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

    Thanks a lot pal

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

    Awesome video🔥🔥🔥

  • @pradattaaryal3523
    @pradattaaryal3523 7 місяців тому

    your teaching skill is very good but can u explain a bit slow i have to watch at 0.75x

  • @Kent-ju6it
    @Kent-ju6it 10 місяців тому

    right on time ! 😁

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

    Oliiiiii! Dude, this is gold!
    I'm implementing this (or trying to) for my portfolio but stumbled upon a weird behavior on mobile (chrome, android) where the offset or the start of the stacking is different from desktop (I also checked your example from your blog and it's behaving the same. Any clues what could it be or if there's a way to make it work differently for mobile?

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

    If anyone experiencing the last card to not scale like the others…in the root page you need to set the range to {[i * 0.2 ….not 0.25, this is due to how many cards you use 😊

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

    Can you please make the code fonts bigger in next videos

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

    Legend, the only difficult part is the range, if you guys are using fetching an object that values are always dynamic use range={index * (1 / stateName.length)}

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

    Hello Olivier! Great job, I love your channel, keep it up!
    I wanted to ask if I can find somewhere a video or source code of one of your demos, specifically "3D perspective scroll". Thanks!!! 🐒

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

      I'll be releasing this animation exclusively in my animation course you can check it out here: blog.olivierlarose.com/courses/web-animation-course

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

      @@olivierlarose1 Allright ! Thanks one more time :)

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

    @olivierlarose1 can you show how to do the same thing inside a small container as i tried the same thing but the useScroll does not working properly inside a container with specific height and overflow auto. Also thank you for posting such the video you explained so easily. Thanks for taking the pain to make this and teach.

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

      You probably need to adjust your offset values if your container is smaller! Not sure tho it depends on your case

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

      @@olivierlarose1 yeah i figured out what i needed. So the case was i had a div which has a fixed height and a overflow set to scroll. So to tracks its scroll instead of the entire page we have to pass the ref object as a container parameter instead of a target parameter. The second thing was i wanted to track the scroll position of a item inside this div so to do that we have to pass both the target and container parameter respectively thou i wasn't able to track the element scroll position inside the div (there is a codepen code for that but it did not work in my case). I just used the scroll value and used fixed intervals for the card scale animation. Thank you for your reply and wish you the best. You are awesome man.

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

    Hey can you make a video about how to make transitions from preloader to the home page

  • @zskr64
    @zskr64 7 місяців тому

    nice!!

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

    🔥🔥

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

    As always awesome content but I have a question like why do you use framer motion for animations why not gsap any specific reason for it?

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

      I'd rather use Framer Motion when using React because it fits more the ecosystem. React is declarative in it's nature and so is Framer motion. GSAP is imperative so to me it doesn't fit as cleanly with React.

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

      @@olivierlarose1 OHH OKAY THANKS FOR REPLYING KEEP FORGING TESE TYPE OF VIDEOS SPECIALLY ANIMATIONS ONE

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

    thank you so much... can u make a tutorial on animated gradient background?

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

      Sounds good! I’ll see what I can do

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

      @@olivierlarose1 Thanks Oli❤️

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

    Nice video 😮

  • @ChirretePetriste
    @ChirretePetriste Місяць тому

    How to do Sticky Cards on Scroll in figma?

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

    you are amazing...

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

    how to stick the last one mine is not stick the last one please help its importent

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

    or something about Animated Card Gradient Hover

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

    I am really bad at the CSS part in Full stack development. Any tips on how to get better?

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

      Practice makes perfect. Personally what I did was to look at designs that I like on pinterest and then just tried remaking them pixel perfect.

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

    add more 2datas in a data.js the card is not scale properly how to set,
    first 4 card perect , i add more two card is not working properly

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

      You have to change the 'range' value of the useTransform to adjust it correctly for more than 4 cards

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

    why does this not work for me ?

  • @srinivasnahak3473
    @srinivasnahak3473 7 місяців тому

    It's malfunctioning when we're adding more than 5 items to the stack. @Olivier Larose

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

      The range is hard coded for 5 cards, if you want to change the numbers of cards you’ll have to change that value

    • @srinivasnahak3473
      @srinivasnahak3473 7 місяців тому

      @@olivierlarose1 Yes, I did fix it with some trial and errors :)

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

    but why its not responsive

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

      shutup and do it yourself

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

    🔥🔥🔥🔥🔥🔥I want masterize my skill like this

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

    can you create the carousel motion of material design 3 in next 14 and framer motion??? I dare you, I think you can't 😅😅😅

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

      I don’t think you need material design for that type of animation

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

      @@olivierlarose1 yes, I dont think either. What I asked is to recreate that same behavior using next 13/14 (app router), framer motion and tailwind (or as I saw in your videos, sass). But having the same behavior of the carousel component of the material design 3 guidelines.
      Thank you for answering. Your videos are awesome.

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

      @@ThugLifeModafocah oh I see! The animation of the carousel from material design is very cool indeed. I'll see how I can make something similar

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

      @@olivierlarose1 great great great. Excited to see the result. Thanks a lot.

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

    This is a good tutorial but a bit fast to follow

  • @BahaaAldein-o2i
    @BahaaAldein-o2i 10 місяців тому

    🥰🥰🥰🥰

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

    Do you speak français ?

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

    yeaaah, great video, have you ever thought about recording one with scroll-driven animation??

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

      What do you mean?

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

      u don't know scroll-driven animations?@@olivierlarose1

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

      Oh is it a css library? Never used before!

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

      it is a css module, it already comes in css, and it works better than in js. Tell me something, I wanted to know if there is a way to make that bounce button just using css @@olivierlarose1

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

      Please sent you an animation/transition on your mail🙏