swiper-cum-carousel
v1.0.13
Published
Adds Swiper wrapper around your components(two or more) of react native to make it slideshow, slider or swiper. Can also be used as carousel to display multiple components in one view at a time. Basic example of SwiperCumCarousel can be used on onboarding
Downloads
19
Maintainers
Readme
React Native Swiper & Carousel
(swiper-cum-carousel) - ts support added
Flexible, lightweight and fully customizable Swiper as well as Carousel wrapper for your React Native app components, images or cards.
Important
Basically, <SwiperCumCarousel>
for React Native is a wrapper to wrap around your components/children & convert it into a slider / slideshow/ swiper, (e.g. best for onboarding screens).
It can also be used as Carousel displaying multiple components in single view at a time, (e.g. product cards of flipkart/ecommerce).
Thus, 2 in 1 premade swiper-cum-carousel
for ease of any swipe in React Native. (examples below)
Installation
npm i swiper-cum-carousel
oryarn add swiper-cum-carousel
cd ios && pod install
Use
import SwiperCumCarousel from 'swiper-cum-carousel'
<SwiperCumCarousel>
..two or more children
</SwiperCumCarousel>
Props
(items
prop to make carousel active)
Contact me at [email protected]