Create Amazing animated image Carousel with react and framer-motion | Beginner tutorial

  Рет қаралды 7,912

WebChain Dev

WebChain Dev

Күн бұрын

In this video you will learn how to create an animated carousel with React.js, Tailwind CSS and framer motion.
The images I used: drive.google.com/drive/folder...
Source code:
gist.github.com/Mif2006/5ad7a...

Пікірлер: 10
@moandoanh8370
@moandoanh8370 10 ай бұрын
I love content like this, simple, concise and wonderful. Hope to see more in the future.
@WebChainDev
@WebChainDev 10 ай бұрын
Thanks!
@user-xz1tg6ce1j
@user-xz1tg6ce1j 9 ай бұрын
Very nice and very easy content. thanks
@proyag7518
@proyag7518 10 ай бұрын
alter the zindex a little cause it's overlapping center: { zIndex: 5 }, left1: { zIndex: 3 }, left: { zIndex: 2 }, right: { zIndex: 1}, right1: { zIndex: 3 }, nice Carousel by the way
@WebChainDev
@WebChainDev 10 ай бұрын
Thanks for the advice!
@KamleshwarPradhan
@KamleshwarPradhan 9 ай бұрын
Amazing content. I was trying to add more images but unable to do it, it will be better if you suggest how to generalize this for a large number of images. Thanks in advance ❤❤❤
@WebChainDev
@WebChainDev 9 ай бұрын
@KamleshwarPradhan to add more images you need to do 5 things. First expand the positionIndexes array to a suitable number. Next change % 5 in handleNext to % positions.length. Next expand the images array. After that expand the positions array with your new positions. And finally add the new positions to the imageVariants. Here is a github gist with examples of components with 7 and 9 images: gist.github.com/Mif2006/cd6b54aba84ad86e92b470c28833ce24. Hope you found this helpful
@essenc3189
@essenc3189 9 ай бұрын
can you write the code for the prevButton as well ?
@WebChainDev
@WebChainDev 9 ай бұрын
Here is the link to the component with the addition of the button: gist.github.com/Mif2006/5ad7a061259c32b89daf8098f2830b95
@essenc3189
@essenc3189 9 ай бұрын
10x you mate, it was quite good slider i was looking for. If you provide some other slider like this but with many images, without adding exact position numbers , would be nice.
Create animated gradient Cards with Tailwind CSS | React.js
10:57
The Framer Motion Scroll Animation Masterclass
9:23
Tom Is Loading
Рет қаралды 22 М.
How to declaratively animate a carousel
22:46
Sam Selikoff
Рет қаралды 17 М.
The Story of Next.js
12:13
uidotdev
Рет қаралды 558 М.
Creating an infinite logo carousel with pure CSS
12:18
Coding with Robby
Рет қаралды 122 М.
Coverflow Effect Slider | HTML CSS Swiper JS #swiper
13:08
Ecem Gokdogan
Рет қаралды 6 М.
TailwindCSS Animated Border Gradient (MIND BLOWING!)
9:48
Ariel Weinberger
Рет қаралды 10 М.
Infinite scrolling carousel with hover effects using Framer Motion
22:40
Horizontal Scrolling Animation with React and Framer Motion
4:54
Tom Is Loading
Рет қаралды 56 М.
Subtle, yet Beautiful Scroll Animations
5:04
Beyond Fireship
Рет қаралды 1,6 МЛН
Build a React Image Slider with Tailwind CSS
18:29
Code Commerce
Рет қаралды 107 М.
Как распознать поддельный iPhone
0:44
PEREKUPILO
Рет қаралды 2,3 МЛН
#samsung #retrophone #nostalgia #x100
0:14
mobijunk
Рет қаралды 12 МЛН
İĞNE İLE TELEFON TEMİZLEMEK!🤯
0:17
Safak Novruz
Рет қаралды 511 М.
Лучший браузер!
0:27
Honey Montana
Рет қаралды 440 М.