1.1.3 • Published 3 months ago

rapid-carousel v1.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

rapid-carousel

A simple and customizable carousel component for your next project.

Demo

Note:- GIF may take some time to load.

npm.io

Installation

npm i rapid-carousel --save-dev

Usage

import { Carousel } from 'rapid-carousel'

const imageData=["url_to_image","url_to_image","url_to_image",];

function App() {
  const customStyle = {
    borderRadius:"2rem",  
  };
  return (
    <div>
      <Carousel
        imageData={images}
        numberOfSlides={1}
        showNavDots={false}
        customImageStyles={customStyle}
      />
    </div>
  );
}

You can then use svgs in your bundle thusly:

Arguments:

Name of ArgumentTypeRequired/OptionalDescription
imageDataArray of stringRequiredIt is an array that stores the urls or paths to images to be included in the carousel.
numberOfSlidesNumberOptionalIt describes the number of slides to display.
showNavDotsBooleanOptionalIt describes whether to show navigation dots at bottom.
customImageStylesObjectOptionalCustom styles for image in carousal, useful when height and width are unsatisfactory.

Made with ❤️ and React.

1.1.3

3 months ago

1.1.2

3 months ago

1.1.1

3 months ago

1.1.0

3 months ago

1.0.9

3 months ago

1.0.8

3 months ago

1.0.7

3 months ago

1.0.6

3 months ago

1.0.5

3 months ago

1.0.4

3 months ago

1.0.3

3 months ago

1.0.2

3 months ago

1.0.1

3 months ago

1.0.0

3 months ago