Socket
Socket
Sign inDemoInstall

material-auto-rotating-carousel

Package Overview
Dependencies
48
Maintainers
4
Versions
28
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    material-auto-rotating-carousel

Introduce new users to your app with this material style carousel


Version published
Weekly downloads
927
decreased by-19.39%
Maintainers
4
Install size
1.92 MB
Created
Weekly downloads
 

Readme

Source

Material AutoRotatingCarousel

Build Status Standard - JavaScript Style Guide

So you wrote a great app and deployed it and everything. But how do you introduce new users to your app? Well, the Material design guidelines have a solution: Displaying the top benefits in a beautiful auto-rotating carousel!

This project implements such a carousel for Material-UI. Visit the styleguide for an interactive demo.

Demo

Installation

npm i --save material-auto-rotating-carousel
npm i --save react-swipeable-views

Note: This is the version for Material-UI 1.0.0 or later. If you are using Material-UI 1.0.0-beta, you should update to the latest version. If you are still using Material-UI 0.x, you can use our legacy version.

AutoRotatingCarousel Properties

NameTypeDefaultDescription
autoplaybooltrueIf false, the auto play behavior is disabled.
ButtonPropsobjectProperties applied to the Button element.
containerStyleobjectOverride the inline-styles of the carousel container.
intervalinteger3000Delay between auto play transitions (in ms).
labelstringButton text. If not supplied, the button will be hidden.
landscapeboolIf true, slide will adjust content for wide mobile screens.
mobileboolfalseIf true, the screen width and height is filled.
ModalPropsobjectProperties applied to the Modal element.
openboolfalseControls whether the AutoRotatingCarousel is opened or not.
onChangefunctionFired when the index changed. Returns current index.
onClosefunctionFired when the gray background of the popup is pressed when it is open.
onStartfunctionFired when the user clicks the getting started button.

Slide Properties

NameTypeDefaultDescription
media*nodeObject to display in the upper half.
mediaBackgroundStyleobjectOverride the inline-styles of the media container.
styleobjectOverride the inline-styles of the slide.
subtitle*stringSubtitle for the slide.
title*stringTitle for the slide.

* required property

License

The files included in this repository are licensed under the MIT license.

Keywords

FAQs

Last updated on 21 Aug 2019

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc