How to use SwiperJS with Ionic (Swiper in Ionic Framework with React)

  Рет қаралды 6,013

Alan Montgomery

Alan Montgomery

Күн бұрын

With the IonSlides being deprecated in v6 of Ionic - We need to look for other ways to implement a touch slider within our Ionic Framework mobile apps.
Luckily, the IonSlides within the Ionic Framework used SwiperJS under the hood (as pointed out in the documentation), and now being available for all JavaScript frameworks, we're able to reach for this package to handle this functionality for us.
This is a tutorial where I take you through an example of the usage of the SwiperJS slides within a travel style app, then show you a step by step guide on the code implementation.
#############################
🔗 Ionic React Travel App UI (with code)
ionicreacthub.com/ionic-react...
🔗 Tutorial code
github.com/alanmontgomery/ion...
🔗 SwiperJS modern mobile touch slider
swiperjs.com
🔗 SwiperJS React documentation
swiperjs.com/react
🔗 IonSlides documentation (for reference)
ionicframework.com/docs/api/s...
🎉 Reach out to me
/ 93alan
💙 UI Examples with Code and Live Demos
ionicreacthub.com
#############################
00:00 Introduction
00:20 IonSlides brief mention
01:02 What is SwiperJS?
01:52 App example with SwiperJS
03:08 Code Tutorial
#ionic #capacitor #webnative #swiperjs #react #reactjs #ionicreact

Пікірлер: 39
@AlanMontgomery
@AlanMontgomery 3 жыл бұрын
Hey guys! Make sure to leave a little like please! Subscribe if you enjoyed this video and to get more in the near future!
@connygu
@connygu 2 жыл бұрын
Great job, Alan! I am just searching this!!!
@AlanMontgomery
@AlanMontgomery 2 жыл бұрын
Thanks so much! Very much appreciated!!
@musanzawanga2083
@musanzawanga2083 2 жыл бұрын
Your videos very comprehensive. Drop more content like this! 💙
@AlanMontgomery
@AlanMontgomery 2 жыл бұрын
Wow thank you so much! I have a lot of content planned starting in the next few weeks.. 🙌
@musanzawanga2083
@musanzawanga2083 2 жыл бұрын
@@AlanMontgomery Awesome. Can't wait! 👍
@yannicknana
@yannicknana 3 жыл бұрын
Loving your content !
@AlanMontgomery
@AlanMontgomery 3 жыл бұрын
Thanks so much man! Means a lot to me 😀😀🙏 hopefully this was helpful!
@jpxcar
@jpxcar 2 жыл бұрын
Great video, thanks!
@AlanMontgomery
@AlanMontgomery 2 жыл бұрын
Thanks for your kind words! Means alot!
@theday1journey703
@theday1journey703 2 жыл бұрын
adding the slider to my app... and putting you in the background for coding along!
@AlanMontgomery
@AlanMontgomery 2 жыл бұрын
Aw that’s great man thanks so much! Glad I can help out!
@mafiakingc
@mafiakingc 2 жыл бұрын
You are awesome man ❤️❤️
@AlanMontgomery
@AlanMontgomery 2 жыл бұрын
Thanks so much for that man! Means a lot! Glad you liked it!! Hope to see you around here :)
@JoshuaMorony
@JoshuaMorony 3 жыл бұрын
Nice one Alan!
@AlanMontgomery
@AlanMontgomery 3 жыл бұрын
Thanks Josh !! 💪🤩
@blakebedford-palmer6676
@blakebedford-palmer6676 3 жыл бұрын
Interesting! I have been using Ion-Slides to do kind of tinder style swiping
@AlanMontgomery
@AlanMontgomery 3 жыл бұрын
Awesome! Hopefully this video will help you convert to SwiperJS then! 😀
@MrAvelino2010
@MrAvelino2010 Жыл бұрын
how do you start a project with js instead typescript
@mdmoinuddinkamal3412
@mdmoinuddinkamal3412 2 жыл бұрын
Thanks for .very helpful content brother. you can make new content for react.js or others javascript libraries.
@AlanMontgomery
@AlanMontgomery 2 жыл бұрын
No problem at all I’m glad it’s helpful! Yes for sure, new content coming in the next week 💪
@MrAvelino2010
@MrAvelino2010 Жыл бұрын
Can you make series of reac ionic routes, tabs, nested routes, params etc the doc it´s not clear and there´s no good examples provide
@AlanMontgomery
@AlanMontgomery Жыл бұрын
Have a look at this playlist Ionic Tab Bar/Tabs kzbin.info/aero/PLaeoIQ5GBVooYaCdARSkpc8diEasoBm_q
@gtanmoy
@gtanmoy 2 жыл бұрын
Nice video!...How do you get the live view of the app in your real device! If you have any video about how to get the live view in our real mobile device using ionic react please let me know
@AlanMontgomery
@AlanMontgomery 2 жыл бұрын
Hey ! Thanks so much for the comment. I actually get asked this a lot so I have planned a video "How to" for this specific topic!
@kabileshs9617
@kabileshs9617 2 жыл бұрын
Hi Alan..Thanks for the video..Its a great content....I almost solved my problem...Unless I could not swipe across the images...Kindly help me
@AlanMontgomery
@AlanMontgomery 2 жыл бұрын
No problem at all! It’s my pleasure! Did you follow my implementation? If you have a link to GitHub project with your example I could take a look for you!
@justinrubinssonaugustine703
@justinrubinssonaugustine703 2 жыл бұрын
hi. do you know if this could be used with the ionreactrouter to be like a swipe able tab?
@AlanMontgomery
@AlanMontgomery 2 жыл бұрын
This definitely could work. We could move the router on swipes. I’ve noted this as a video idea as I’ve a batch of new video content coming in the next few weeks.
@justinrubinssonaugustine703
@justinrubinssonaugustine703 2 жыл бұрын
@@AlanMontgomery that's great news! I have been trying to figure out how to combine the components for a while and haven't had much luck.
@AlanMontgomery
@AlanMontgomery Жыл бұрын
Amazing ! This will definitely help then
@justinrubinssonaugustine703
@justinrubinssonaugustine703 Жыл бұрын
@@AlanMontgomery hi Alan. I managed to get the ion router combined with swipe gestures working. However it becomes very laggy after a few minutes of the app running. Do you have any idea why this may be?
@victormbarachi4701
@victormbarachi4701 2 жыл бұрын
Hello , thank you so much for this video, However the pagination doesn't show on mobile device.
@AlanMontgomery
@AlanMontgomery 2 жыл бұрын
Thanks man I appreciate it! You have to import the pagination through the core SwiperJS modules have you tried that?
@victormbarachi4701
@victormbarachi4701 2 жыл бұрын
@@AlanMontgomery No I haven't how do I achieve that please? Thank you!
@AlanMontgomery
@AlanMontgomery 2 жыл бұрын
@@victormbarachi4701 check out swiperjs.com/react under usage scroll down to the pagination part
Secret Experiment Toothpaste Pt.4 😱 #shorts
00:35
Mr DegrEE
Рет қаралды 32 МЛН
НЫСАНА КОНЦЕРТ 2024
2:26:34
Нысана театры
Рет қаралды 1,1 МЛН
Fast and Furious: New Zealand 🚗
00:29
How Ridiculous
Рет қаралды 39 МЛН
39kgのガリガリが踊る絵文字ダンス/39kg boney emoji dance#dance #ダンス #にんげんっていいな
00:16
💀Skeleton Ninja🥷【にんげんっていいなチャンネル】
Рет қаралды 8 МЛН
Storing Data in React apps with Ionic Storage
36:19
Simon Grimm
Рет қаралды 7 М.
How to use Pullstate global state management in Ionic React
30:22
Alan Montgomery
Рет қаралды 1,7 М.
The Story of Next.js
12:13
uidotdev
Рет қаралды 558 М.
How to Capture & Save Images with IONIC REACT Using Capacitor
45:30
How to implement Swiper with Ionic 7 (ion-slides removed)
8:54
Simon Grimm
Рет қаралды 28 М.
Top 10 CSS One Liners That Will Blow Your Mind
13:34
developedbyed
Рет қаралды 931 М.
Custom Google Fonts Integration in Ionic App | Ionic 7 Finance App UI
11:27
How to use the Ionic 6 Accordion Component with React (Ionic Framework)
7:36
Ouch.. 🤕
0:30
Celine & Michiel
Рет қаралды 8 МЛН
ДОМАШНЕЕ ЭСКИМО//ПРОВЕРКА РЕЦЕПТА ТИК ТОК
0:24
ОЛЯ ПЕРЧИК
Рет қаралды 4,1 МЛН
Small Act of Kindness is also a charity
1:00
PainCare _Trust
Рет қаралды 43 МЛН
ДОМАШНЕЕ ЭСКИМО//ПРОВЕРКА РЕЦЕПТА ТИК ТОК
0:24
ОЛЯ ПЕРЧИК
Рет қаралды 4,1 МЛН
Eloá fazendo graça kkkk
0:15
Story Elis e Eloá
Рет қаралды 13 МЛН
REAL OR FAKE?
0:10
dednahype
Рет қаралды 12 МЛН