Тёмный

How to Create a Staggered Drop-Down Menu Animation in React | Framer Motion 

Diego Cabrera
Подписаться 2 тыс.
Просмотров 26 тыс.
50% 1

I wanted to share how I recreated this simple animation staggered drop-down menu animation in React. Using Next Js, React, and Framer Motion.
My website:
cabrera-site-2...
Screen Recoding Software [Affiliate]:
screenstudio.l...?aff=pym1Y
My blog:
cabrera-site.v...
Follow me on:
Twitter:
/ diego_anthony_
Instagram:
/ diego__cb
Github:
github.com/tho...
Animation Inspo:
www.lobelia.ea...

Опубликовано:

 

15 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 61   
@penguinzrule7
@penguinzrule7 11 месяцев назад
What a great tutorial. No time wasted, everything you talked about was necessary information and clearly explained. Will definitely be coming back for more tutorials.
@Diego_Cabrera
@Diego_Cabrera 10 месяцев назад
Glad it was helpful!
@JuanCarlosSanchezLopez-h9h
@JuanCarlosSanchezLopez-h9h 7 месяцев назад
Crazy tutorial, it looks amazing and its super clear and direct. Love this❤
@frankxtupelo
@frankxtupelo Год назад
Impressive tutorial! Very detailed, I will reference back to this video for some framer motion concepts explained here.
@Diego_Cabrera
@Diego_Cabrera 11 месяцев назад
Thank you bro. I try my best to explain the process.
@antontsvil245
@antontsvil245 Год назад
Respect for pushing to the finish , im struggling with animations so hard but still can't understand them clearly
@Diego_Cabrera
@Diego_Cabrera Год назад
what are you stuck on?
@antontsvil245
@antontsvil245 Год назад
@@Diego_Cabrera currently im focusing on react learning, i mean in general animations was hard to understand
@philipepics
@philipepics Год назад
​@@antontsvil245 I suggest to you see the principles of animation and studying CSS animations first, for a better introduction in this topic. en.wikipedia.org/wiki/Twelve_basic_principles_of_animation
@darshanpandya1087
@darshanpandya1087 9 месяцев назад
Really Impressive Tutorial Diego , Keep It Up !!! 👍😄
@Diego_Cabrera
@Diego_Cabrera 8 месяцев назад
Glad you liked it!
@augustineedeh3565
@augustineedeh3565 2 месяца назад
Super duper helfulful. Thanks, Anthony!
@emmanueljulius1827
@emmanueljulius1827 9 месяцев назад
Super helpful content Diego, I implemented this in a project I'm currently working on
@Diego_Cabrera
@Diego_Cabrera 9 месяцев назад
That’s cool to hear. What’s the project about?
@abdullahsiam7609
@abdullahsiam7609 Год назад
This one is awesome too! Please create a yt series on how to create a visually stunning, aesthetic and beautiful piece of art using framer motion. 👏👏
@Diego_Cabrera
@Diego_Cabrera Год назад
I’ll do my best!
@creativestudio4188
@creativestudio4188 Год назад
Hey bro, thanks for this. I used it in my project ❤
@Diego_Cabrera
@Diego_Cabrera 11 месяцев назад
That’s awesome to hear. Keep exploring!
@attilalakatos7029
@attilalakatos7029 3 месяца назад
Still a very good tutorial in 2024! IMHO better than the official doc example
@goswamianshuman
@goswamianshuman 3 месяца назад
nice tutorial used in my application in production. ❤❤
@dreamer6975
@dreamer6975 Год назад
thank you, amazing video
@Diego_Cabrera
@Diego_Cabrera Год назад
Thanks man 🙌
@rhh1090
@rhh1090 4 месяца назад
Very useful video dude, thank you!
@m_jdm357
@m_jdm357 7 месяцев назад
You can also create the menuVars like so: const menuVars = { initial: { height: 0 }, animate: { height: 347 }, exit: { height: 0 } } This will make the content of the dropdown to not shrink. Like usign height and not transform scaleY.
@rohit_700
@rohit_700 Год назад
Good work bro❤
@Diego_Cabrera
@Diego_Cabrera Год назад
Thank you 💪
@nazitaog
@nazitaog 8 месяцев назад
nice tutorial very helpfull. Saludos desde Argentina capo
@Diego_Cabrera
@Diego_Cabrera 8 месяцев назад
Saludos amigo!
@MrAbbo11
@MrAbbo11 Год назад
nice work dude.
@Diego_Cabrera
@Diego_Cabrera Год назад
Thank you💪
@Icodestuff
@Icodestuff Год назад
nice video man!
@feastofsteven1214
@feastofsteven1214 6 месяцев назад
Not sure if I'm missing something, seems maybe I need to be using Next.js with this? I'm building my first project in React and just using React/Tailwind, but I've rebuilt everything to the 4:00 mark and all I get is errors. First, it's confusing where you create the 'Link' component, because it seems you already have that in your 'Next' folder or something? So I was getting an error on that, so I just created a 'Link.jsx' file in my components folder and imported it, but what should that file read? Next, there's some issue with the 'open &&' command, maybe if I continue that will resolve, but hard to follow along when I can't see the menu at all and unsure if I follow it to the end if I'll get anything. I dunno, appreciate the tutorial and any help you can give -- but it's really hard to follow with your image in the way of your code and you move to fast, don't explain the WHY of things or how you're getting there. Just some constructive feedback :) thanks!
@szymon_JD
@szymon_JD 23 дня назад
Link is built in Next js component that you use for navigation
@karpinakarpin8950
@karpinakarpin8950 Год назад
Thank you very much for the tutorial. What for a theme are u using in your VS Code in this video bro?
@Diego_Cabrera
@Diego_Cabrera Год назад
Thank you for watching! I have the "Bearded Theme Monokai Black"
@sujjee
@sujjee Год назад
hey bro please create full course how to make cool websites using framer motion and nextjs. you are providing real paid course value in free. thank you so much ♥
@Diego_Cabrera
@Diego_Cabrera Год назад
Thanks for watching! I’ll begin working on a course. I feel like this could help my viewers and I, get more familiar with this library. Thanks for the idea!
@giovannidjuric2321
@giovannidjuric2321 8 месяцев назад
Awesome content!!!
@Diego_Cabrera
@Diego_Cabrera 8 месяцев назад
Thanks man!
@redwansikder3847
@redwansikder3847 7 месяцев назад
nice details.
@preetpalsingh1819
@preetpalsingh1819 6 месяцев назад
nice one man
@tusharghildiyal6814
@tusharghildiyal6814 11 месяцев назад
when i tried it, the scaling in and out of the yellow container is not animating, please help me fix it
@Pixalynx
@Pixalynx Год назад
can you share the vs code theme ?
@harshdeep7015
@harshdeep7015 8 месяцев назад
Your perspective on react native vs flutter??
@Diego_Cabrera
@Diego_Cabrera 8 месяцев назад
I was looking into them a while back and personally, between the two, I would chose react native simply because i'm already familiar with react. However, now if I were to learn mobile development I would learn swift because I am heavy in the apple ecosystem.
@HundredBytes
@HundredBytes Год назад
hey do you now having problemese using nextjs 13 with framer motion specifically in page transition i stucked on that
@Diego_Cabrera
@Diego_Cabrera Год назад
What part are you stuck on? Make sure you have the AnimatePresence wrapper around the code you want to mount and unmount from the DOM. Also I’m your variants you must specify the initial, animate, and exit portion. Lastly make sure you have the z index higher than your main html component. This will insure you can see the content on top of the main website. Lmk if this was any help.
@HundredBytes
@HundredBytes Год назад
@@Diego_Cabrera thanks it kinda work with conditional rendering i can use the animation like a menu bar but page transition does't work after some research i found in a lot of people facing the same probleme and it nextjs probleme
@Diego_Cabrera
@Diego_Cabrera Год назад
@@HundredBytes yeah I’ve had that issue with some other transitions as well. That’s for the info man
@drgregoryhouse1470
@drgregoryhouse1470 Год назад
Very nice tutorial, in my opinion it won't take you long to get a successful yt channel if you stay tuned :D
@Diego_Cabrera
@Diego_Cabrera 11 месяцев назад
Thank you sm. This really means a ton. Stay toon!
@morchellemusic2829
@morchellemusic2829 10 месяцев назад
nice vid
@Diego_Cabrera
@Diego_Cabrera 10 месяцев назад
Thanks !
@creativestudio4188
@creativestudio4188 Год назад
Hey bro, thanks for this 🎉 I want to create this is React JS not next.js, any tutorial ?? Or please share the code sandbox for this one please
@Diego_Cabrera
@Diego_Cabrera 9 месяцев назад
Next Js is just a framework used to build react applications. The code is in react. You should be able to use it in any other react framework.
@vishalsangole836
@vishalsangole836 11 месяцев назад
We can be animation buddies
@Diego_Cabrera
@Diego_Cabrera 10 месяцев назад
Yessir
@amirmohammadhamzavi9067
@amirmohammadhamzavi9067 Год назад
Nice, just put the source code
@helloWorld432Hz
@helloWorld432Hz 8 месяцев назад
Great tutorial. It would be cool to add a backdrop-filter: blur(15px); on that header. It looks good while scrolling down
@Diego_Cabrera
@Diego_Cabrera 8 месяцев назад
Yeah that would be nice.
@oyepariolaoluwalonimi8185
@oyepariolaoluwalonimi8185 11 месяцев назад
You didn’t link the tutorial for the portfolio🥲
Далее
Master React JS in easy way
12:18
Просмотров 86 тыс.
Сколько стоят роды мечты?
00:59
Просмотров 803 тыс.
Animated tabs - with inverted text!
12:15
Просмотров 57 тыс.
Staggered Text Animations with React and Framer Motion
11:59
Webflow vs Framer: 2024 Guide for Web Designers
6:51
My Top 5 Techniques for Web Animation
9:58
Просмотров 88 тыс.
Creating our mobile header for our Framer template
9:53
6 ideas for animating your app with Framer Motion
7:55
Dockerize Your Next.js 14 App in 2024!
7:41
Просмотров 15 тыс.