Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-bootstrap-carousel

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-bootstrap-carousel

React port of bootstrap carousel

  • 4.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Travis Coverage Status Version license Donloads

This project support carousel components built with React.

Install

npm i --save react-bootstrap-carousel

Getting Started

import ReactBootstrapCarousel from "react-bootstrap-carousel";
import "bootstrap/dist/css/bootstrap.css";
import "react-bootstrap-carousel/dist/react-bootstrap-carousel.css";

Bootstrap@3.3.7 demo

Bootstrap@4.3 demo

Properties

PropsTypeDescriptionDefault
versionnumberBootstrap version 3 | version 43
defaultActiveIndexnumber0
slideshowSpeednumberThe amount of time to delay between automatically cycling an item7000
animationbooleanwhether to show animationtrue
autoplaybooleanWhether to scroll automaticallytrue
wrapbooleanWhether the carousel should cycle continuously or have hard stopstrue
indicatorsbooleanWhether to show the dots at the bottom of the gallerytrue
leftIconReactNode-
rightIconReactNode-
onSelectfunction(value: number )Callback function called after the current index changes-
classNamestringcarousel-fade | ""-
pauseOnVisibilitybooleanStop autoplay when visibilitychangefalse

Methods

NameDescription
slidePrevChange current slide to previous slide
slideNextChange current slide to next slide
goToSlideChange current slide to given slide number

Keywords

FAQs

Package last updated on 28 Dec 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc