Installations
npm install react-native-custom-image-carousel
Developer Guide
Typescript
Yes
Module System
CommonJS
Node Version
20.13.0
NPM Version
10.7.0
Score
21
Supply Chain
53
Quality
68
Maintenance
25
Vulnerability
88.6
License
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Languages
TypeScript (63.24%)
JavaScript (36.76%)
Love this project? Help keep it running — sponsor us today! 🚀
Developer
shrutigxuriti
Download Statistics
Total Downloads
278
Last Day
1
Last Week
6
Last Month
32
Last Year
278
GitHub Statistics
MIT License
9 Commits
1 Watchers
1 Branches
1 Contributors
Updated on Jun 28, 2024
Package Meta Information
Latest Version
0.1.2
Package Id
react-native-custom-image-carousel@0.1.2
Unpacked Size
50.84 kB
Size
14.56 kB
File Count
10
NPM Version
10.7.0
Node Version
20.13.0
Published on
Jun 28, 2024
Total Downloads
Cumulative downloads
Total Downloads
278
Last Day
0%
1
Compared to previous day
Last Week
-50%
6
Compared to previous week
Last Month
190.9%
32
Compared to previous month
Last Year
0%
278
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
751
Peer Dependencies
2
react-native-custom-image-carousel
React Native Simple Carousel
The Image Carousel component is a React Native component designed to display a carousel of images with pagination dots at the bottom. It allows users to swipe through images horizontally or automatically cycle through them at a specified interval.
Installation
1npm install react-native-custom-image-carousel
Dependencies
1npm i react-native-webview@13.6.4 2npm i react-native-youtube-iframe
Usage
1import React from 'react'; 2import { View, StyleSheet } from 'react-native'; 3import ImageCarousel from 'react-native-custom-image-carousel'; 4 5const images = [ 6 require('./images/image1.jpg'), 7 require('./images/image2.jpg'), 8 require('./images/image3.jpg'), 9]; 10 11const App = () => { 12 return ( 13 <View style={styles.container}> 14 <ImageCarousel 15 images={images} 16 height={200} 17 width={300} 18 inactiveDotColor="#BCBCBC" 19 activeDotColor="#333333" 20 resizeMode="cover" 21 carouselTiming={3000} // Set to 0 to disable automatic scrolling 22 /> 23 </View> 24 ); 25}; 26 27const styles = StyleSheet.create({ 28 container: { 29 flex: 1, 30 alignItems: 'center', 31 justifyContent: 'center', 32 }, 33}); 34 35export default App; 36
Props
images
: An array of image sources.height
: Height of the carousel.width
: Width of the carousel.inactiveDotColor
: Color of inactive pagination dots (optional, default: #BCBCBC).activeDotColor
: Color of active pagination dot (optional, default: #333333).resizeMode
: Image resize mode (optional, default: 'cover').carouselTiming
: Interval in milliseconds for automatic carousel scrolling (optional, default: 1000). Set to 0 to disable automatic scrolling.
Screenshots
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT
Made with create-react-native-library

No vulnerabilities found.

No security vulnerabilities found.
Other packages similar to react-native-custom-image-carousel
react-native-fast-carousel
A very light weight, extremely fast and customizable image slider component for React Native, with smooth animations and pagination.
react-native-carousel-autoplay
Autoplay enabled react native carousel with background image, title, text and custom buttom.
custom-react-native-image-carousel-slider