React Carousel Minimal
Easy to use, responsive and customizable carousel component for React Projects.
Installation
npm i react-carousel-minimal
Features
- Responsive
- Customizable
- Infinite loop
- Autoplay with custom duration
- Supports text caption
- Pause autoplay on hold with pause icon and customizations
- Slide number indicators
- Swipe to go to next slide on touch devices
- Custom slide background color
- Thumbnail slide indicators
Usage

Props
Name | Value | Description |
---|---|---|
data | array | Array of carousel items, containg JSON elements of the form { image: IMAGE_PATH, caption: TEXT_CAPTION } |
automatic | boolean | Enable auto play |
time | number | Interval in milliseconds after which it autmatically goes to the next slide if automatic is true ,defaults to 2000 |
width | string | Width of the Carousel, eg: 600px |
height | string | Width of the Carousel, eg: 400px |
slideNumber | boolean | Enable slide number indicators |
captionStyle | JSON | React style object for the captions |
radius | string | Border radius of the slides, eg: 10px |
slideNumberStyle | JSON | React style object for slide number indicators |
captionPosition | string | Position of the text captions, available options:top, center, bottom |
dots | boolean | Enable slide indicator dots |
pauseIconColor | string | Color of the pause icon, eg: white |
pauseIconSize | string | size of the pause icon, eg: 40px |
slideBackgroundColor | string | Sets the slides' background color, eg: darkgrey |
slideImageFit | string | Sets the object-fit of the slides' image,available options contain and cover |
thumbnails | boolean | Enables thumbnail indicators |
thumbnailWidth | string | Width of the thumbnail, defaults to 100px |