How to create carousel slider in Tailwind css and React js ?

  Рет қаралды 29,029

AyyazTech

AyyazTech

Күн бұрын

🌟 Exclusive Hosting Deal from Hostinger 🌟
Ready to launch your own website? Use my affiliate link to get an exclusive discount on Hostinger's reliable and high-performance hosting plans: www.hostg.xyz/SHEyO
Hostinger offers:
- Easy-to-use control panel
- 24/7 customer support
- 30-day money-back guarantee
- And more!
Don't miss out on this amazing offer. Click the link above to get started today! 🚀
---
I demonstrated how to build a Carousel slider using Tailwind CSS and React.js, covering step-by-step instructions on setup, styling, navigation buttons, and clickable navigation circles.
Demo: ayyaztech.github.io/create-ca...
Article: / faa5ad646199
You can get source code from this Github Repository:
github.com/AyyazTech/create-c...
=====================
Chapters:
=====================
00:00 - Introduction and project setup using Tailwind CSS and React.js
02:30 - Styling the Carousel and adding images
04:45 - Adding navigation icons with react-icons Library
07:00 - Implementing previous and next slide functions
09:25 - Making the Carousel navigable based on current slide state
11:16 - Adding clickable navigation circles for slide selection
13:05 - Making navigation circles reactive
14:10 - Finalizing the Carousel slider functionality
14:37 - Conclusion and wrapping up the tutorial
#TailwindCSS #ReactJS #CarouselSlider
=====================
Related Videos:
=====================
🎨 Crafting a Calculator with ChatGPT's Expertise | React js, Tailwind CSS | Raw Coding Journey: • Crafting a Calculator ...
🔢 Countdown Timer Creation coded by ChatGPT 4 Insight | React js & Tailwind CSS | Raw Coding Journey: • Countdown Timer Creati...
⏰ How to use Tailwind CSS in Flask using Docker?: • How to use Tailwind CS...
⛓ How to create a sidebar in Nextjs and Tailwind CSS?: • How to create a sideba...
🔵 How to use Tailwind CSS in Svelte?: • How to use Tailwind CS...
⚙ How to integrate Tailwind CSS with GrapesJS to make a Drag and Drop GUI?: • How to integrate Tailw...
=====================
To read written versions of AyyazTech tutorials, please visit AyyazTech.com
=============
If you want more content like this then please subscribe to my channel and click on the bell icon to get all of the notifications.
/ @ayyaztech

Пікірлер: 28
@user-fc9qn4kn6t
@user-fc9qn4kn6t 5 ай бұрын
Very good tutorial! Thank you
@shubhamokay
@shubhamokay 9 ай бұрын
Thank you 👍🏻 This video was really helpful ❤
@AyyazTech
@AyyazTech 9 ай бұрын
@shubhamsangale1317 Thank you for the kind feedback! ❤️ I'm thrilled to know that you found the video helpful. If you'd like to see more such content, please give it a thumbs up, share with your peers, and subscribe to the channel. And don't miss out on any updates by hitting that bell icon! 🔔 Your support keeps the content coming. Happy coding! 👩‍💻👨‍💻
@chretiennzanga3119
@chretiennzanga3119 2 ай бұрын
Thanks you very much!!👍
@GreenPear-mz4dl
@GreenPear-mz4dl 7 ай бұрын
Thank you very much, I liked and subscribed
@AyyazTech
@AyyazTech 7 ай бұрын
Thanks for the sub!
@INVADE.00
@INVADE.00 4 ай бұрын
Thanks very simple and easy.
@AyyazTech
@AyyazTech 4 ай бұрын
It's great to hear that you found the tutorial on creating a carousel slider in Tailwind CSS and React JS easy to follow and simple to understand! 😊 If you're interested in exploring more about React or Tailwind CSS, you might find these tutorials useful: - "Crafting a Digital Clock: React JS & Tailwind CSS with ChatGPT 4 Assistance | Raw Coding Session" (kzbin.info/www/bejne/gZ6ViKmFnN2Io6c) - "Create Mortgage Calculator with React & Tailwind CSS coded by ChatGPT 4 | Raw Coding Session" (kzbin.info/www/bejne/sJ20o4B7d7pnbpY) - "React & Tailwind CSS: Crafting a Quiz App Guided by ChatGPT 4" (kzbin.info/www/bejne/Y4rCnJuPfbGHqJY) Your feedback fuels our motivation to keep producing content that helps and inspires. Don't forget to subscribe, like, share, and hit the bell icon for more updates. Let us know if there's a specific topic you'd like us to cover next. Happy coding! 🚀
@user-up2yq2qx4n
@user-up2yq2qx4n Ай бұрын
Hello thanks for this. How to add text on top of each slide ?
@PetriikVx
@PetriikVx 5 ай бұрын
Very helpfull thanks!
@AyyazTech
@AyyazTech 5 ай бұрын
You're very welcome! I'm glad I could assist you. If you ever need more help or have more questions in the future, feel free to ask. Have a great day! 😊👍
@shafwong1159
@shafwong1159 7 ай бұрын
Thanks for the tutorial - I was looking for a Tailwind + React carousel tutorial that included the side-by-side animation, which I like more than just simply fading in and out the next image. Question: 9:51 Is it better to put the translate-x-[current * 100%] in styles= instead of className= because TailWindCSS compiles the utility class names only on save, and can't dynamically recompile the utility classes while the page is live?
@AyyazTech
@AyyazTech 7 ай бұрын
Regarding your question at 9:51 in the Tailwind + React carousel tutorial: It can be better to use inline styles (e.g., styles={{ translateX: '[current * 100%]' }}) instead of className for dynamic values in React with TailwindCSS. This is because TailwindCSS compiles utility class names at build time and doesn't dynamically recompile them during runtime. So, for values that change dynamically based on state or props in your React component, inline styles are more suitable. This approach allows you to directly apply the calculated translation value to your element, ensuring the carousel's smooth side-by-side animation. If you found this tutorial helpful, don't forget to like and subscribe to the AyyazTech channel for more tutorials like this. If you have any more questions or need further clarification, feel free to ask in the comments section below. Happy coding!👨‍💻🎡🔔
@LiettyOliva
@LiettyOliva 9 ай бұрын
Maravilloso,gracias Maravilloso.Gracias
@AyyazTech
@AyyazTech 9 ай бұрын
¡Nos alegra que te haya resultado maravilloso! Estamos aquí para ayudar en lo que necesites. ¡Gracias por tu apoyo y éxito en tu proyecto!
@MuhammadAkbar-sy7zm
@MuhammadAkbar-sy7zm 7 ай бұрын
thank you brother 🚀
@AyyazTech
@AyyazTech 7 ай бұрын
You're welcome, brother! If you have any more questions or need assistance with anything else, feel free to ask. Don't forget to keep following AyyazTech for more insights and updates. Thanks for your support, and happy coding! 🌟🚀🔔
@souravmohanty1579
@souravmohanty1579 5 ай бұрын
How to use the local urls for images??
@DProgram-xb9pp
@DProgram-xb9pp 8 ай бұрын
Thank you
@AyyazTech
@AyyazTech 8 ай бұрын
You're welcome! If you have any more questions or need further clarification on any topic, feel free to ask. Happy coding! 😊 Also, if you found the content helpful, please consider giving the video a thumbs up and subscribing to our channel for more tutorials and updates. Your support means a lot!
@ssberonsage4364
@ssberonsage4364 4 ай бұрын
Can we add a video that we can play on a carousel?
@nitecheng
@nitecheng 10 ай бұрын
cool
@AyyazTech
@AyyazTech 10 ай бұрын
Glad it helped. Please don't forget to subscribe to my youtube channel and click on bell icon to get notified for my upcoming videos. Also please like and share my video :)
@jaroslavmiczka3478
@jaroslavmiczka3478 4 ай бұрын
❤‍🔥❤‍🔥❤‍🔥
@BermeoMiguel
@BermeoMiguel 10 ай бұрын
Hello, Nice video. Can you share the repository for this project, please? Thank you.
@AyyazTech
@AyyazTech 10 ай бұрын
Thanks. I am glad that this video was helpful. Here is the link of the repository: github.com/AyyazTech/create-carousel-slider-in-Tailwind-css-and-React-js Please don't forget to subscribe my channel and click on the bell icon to get notified for upcoming videos. Also please like and share this video to help others as well :)
@deaaalawad1539
@deaaalawad1539 9 ай бұрын
Thank so much ,it's Really helful
@AyyazTech
@AyyazTech 9 ай бұрын
Glad it was helpful! Please don't forget to like, share this video and Subscribe my channel. Also please don't forget to click on the bell icon to get notified for upcoming videos.
Build a React Image Slider with Tailwind CSS
18:29
Code Commerce
Рет қаралды 105 М.
Мы никогда не были так напуганы!
00:15
Аришнев
Рет қаралды 6 МЛН
Looks realistic #tiktok
00:22
Анастасия Тарасова
Рет қаралды 94 МЛН
Nutella bro sis family Challenge 😋
00:31
Mr. Clabik
Рет қаралды 12 МЛН
How to make Card Slider in React JS | React Slick
9:03
Etisha Garg
Рет қаралды 108 М.
Top 10 CSS One Liners That Will Blow Your Mind
13:34
developedbyed
Рет қаралды 919 М.
The Advanced TailwindCSS Crash Course
37:39
Tom Is Loading
Рет қаралды 11 М.
Every React Concept Explained in 12 Minutes
11:53
Code Bootcamp
Рет қаралды 455 М.
This is the Only Right Way to Write React clean-code - SOLID
18:23
10 common mistakes with the Next.js App Router
20:37
Vercel
Рет қаралды 191 М.
Build an Accordion Menu with React & Tailwind CSS
12:50
Code Commerce
Рет қаралды 13 М.
Samsung Galaxy Unpacked July 2024: Official Replay
1:8:53
Samsung
Рет қаралды 22 МЛН
Хотела заскамить на Айфон!😱📱(@gertieinar)
0:21
Взрывная История
Рет қаралды 6 МЛН
Easy Art with AR Drawing App - Step by step for Beginners
0:27
Melli Art School
Рет қаралды 9 МЛН