danymdany / react-native-custom-image-carousel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React Native Custom Image Carousel

Create Custom Image Carousel in react native using Reanimated 2

Image Assets - https://drive.google.com/drive/folders/166lND4ag_dfFkQyDenwbeINbgDCUYoOR?usp=sharing

Demo

Custom Image Carousel (Square) Demo

Demo1

Custom Image Carousel (Landscape) Demo

Demo1

Pagination Demo

Demo1

Demo on Android (Left) and Ios (Rigth)

Demo2

Properties

Name Description Type Default Value
data Image data Array Required
autoPlay If true then the carousel will auto play Bool Required
pagination if true then the carousel will show the pagination Bool Required

Run Locally

Clone the project

  git clone https://github.com/Rakha112/react-native-custom-image-carousel.git

Go to the project directory

  cd react-native-custom-image-carousel

Install dependencies

  npm install

Start the server

  npm start -- --reset-cache

Run on IOS

  npx pod-install
  npx react-native run-ios

Run on ANDROID

  npx react-native run-android

About


Languages

Language:Java 35.8%Language:JavaScript 23.9%Language:C++ 15.9%Language:Objective-C++ 10.1%Language:Objective-C 5.5%Language:Makefile 3.5%Language:Ruby 2.9%Language:Starlark 1.4%Language:Shell 1.1%