Create Animated expandable cards with Tailwind CSS and Framer Motion | React.js

  Рет қаралды 8,188

WebChain Dev

WebChain Dev

Күн бұрын

In this video you will learn to create a card component using react.js, tailwind css, and animate it with framer-motion.
Assets: drive.google.com/drive/folder...
Source Code: gist.github.com/Mif2006/083f4...

Пікірлер: 12
@GoogleUser-nx3wp
@GoogleUser-nx3wp 9 ай бұрын
Great tutorial though really appreicated source code and a nice short tutorial also your reponse as well love the + energy
@arielelias2413
@arielelias2413 2 ай бұрын
thx for this kind of content
@Diego_Cabrera
@Diego_Cabrera Жыл бұрын
Nice tutorial!
@stinger2119
@stinger2119 9 ай бұрын
thanks, but custom tailwind code is missing, especially for the card class
@GoogleUser-nx3wp
@GoogleUser-nx3wp 9 ай бұрын
How can i keep them initially expanded also how i increase the cards width?
@WebChainDev
@WebChainDev 9 ай бұрын
To increase the card width you can go to the cardVariants, where you can change the width for the collapsed and expanded cards. Currently it is 200px and 400px
@WebChainDev
@WebChainDev 9 ай бұрын
As for keeping them expanded, the initial and animate attributes in the motion.div do that. First you need to change initial to "expanded", then change the animate to your liking. If you simply want to reverse it and make all of them initially expanded and close on click, then you can change the === in animate to !==
@sunil.noob.1404
@sunil.noob.1404 6 ай бұрын
Hey i tried to develop this but the cards are not showing properly like it is expanding and functioning properly but the images are not showing
@Mayronv_
@Mayronv_ 5 ай бұрын
Have the same issue
@GoogleUser-nx3wp
@GoogleUser-nx3wp 9 ай бұрын
Would have appreciated Source Code
@WebChainDev
@WebChainDev 9 ай бұрын
Here it is: gist.github.com/Mif2006/083f4d5f54909b7b9eff6d864ae71961
@GoogleUser-nx3wp
@GoogleUser-nx3wp 9 ай бұрын
@@WebChainDev Thank you bro
The Framer Motion Crash Course || React Animation Library 2023
52:36
Tom Is Loading
Рет қаралды 90 М.
Create animated gradient Cards with Tailwind CSS | React.js
10:57
Heartwarming Unity at School Event #shorts
00:19
Fabiosa Stories
Рет қаралды 23 МЛН
5 Advanced Framer Motion Techniques I Shouldn't Have Skipped
7:35
Tom Is Loading
Рет қаралды 10 М.
Complex Animations with Framer Motion & React || useAnimate Hook
13:48
The Heart of React || How React works under the hood
10:32
AI Bruise
Рет қаралды 17 М.
The Story of Next.js
12:13
uidotdev
Рет қаралды 558 М.
Top 10 Tips and Tricks with Tailwind CSS
23:45
developedbyed
Рет қаралды 87 М.
6 ideas for animating your app with Framer Motion
7:55
Sam Selikoff
Рет қаралды 106 М.
Responsive Framer Motion with Tailwind CSS
15:09
Sam Selikoff
Рет қаралды 55 М.
Top 10 CSS One Liners That Will Blow Your Mind
13:34
developedbyed
Рет қаралды 931 М.
Build any layout with tailwind | crash course
34:28
Hitesh Choudhary
Рет қаралды 59 М.
Heartwarming Unity at School Event #shorts
00:19
Fabiosa Stories
Рет қаралды 23 МЛН