Skip to content
A carousel component for Angular using Material
TypeScript HTML CSS JavaScript
Branch: master
Clone or download
gbrlsnchs Set up patch release
This release resolves #9.
Latest commit aa34980 Oct 3, 2019

Material Carousel

Build Status npm version Live demo


This package is a carousel component for Angular using Material Design.

Until v1 is reached, breaking changes may be introduced.


npm install --save @ngmodule/material-carousel


import { MatCarouselModule } from '@ngmodule/material-carousel';

  // ...
  imports: [
    // ...
    // ...
export class AppModule {}



import { MatCarousel, MatCarouselComponent } from '@ngmodule/material-carousel';


Input Type Description Default value
timings string Timings for slide animation. '250ms ease-in'
autoplay boolean Enable automatic sliding. true
interval number Autoplay's interval in milliseconds. 5000
loop boolean Enable loop through arrows. true
hideArrows boolean Hide navigation arrows. false
hideIndicators boolean Hide navigation indicators. false
color ThemePalette Color palette from Material. 'accent'
maxWidth string Maximum width. 'auto'
proportion number Height proportion compared to width. 25
slides number Maximum amount of displayed slides.
useKeyboard boolean Enable keyboard navigation. true
useMouseWheel boolean Enable navigation through mouse wheeling. false
orientation Orientation Orientation of the sliding panel. 'ltr'
svgIconOverrides SvgIconOverrides Override default carousel icons with registered SVG icons.


import { MatCarouselSlide, MatCarouselSlideComponent } from '@ngmodule/material-carousel';


Input Type Description Default value
image string Image displayed in the slide.
overlayColor string Color of the slide's overlay. '#00000040'
hideOverlay boolean Toggle overlay on/off. false
disabled boolean Skip slide when navigating. false


How to help

How to develop and test


ng test carousel --watch false

Running the demo application

ng serve demo --source-map

You can’t perform that action at this time.