Carousel

Looking for a smooth, modern carousel for your Angular projects? Meet Angular Material Carousel, a lightweight and flexible component designed to fit perfectly into Angular Material apps.

Key features:
  • Seamless Integration: Built with Angular Material and Tailwind, it blends right in with your app's design.
  • Easy to Use: Simple API for developers of any skill level.
  • Customizable: Tailor it to match your style with ease.

Whether you need to showcase images, cards, or any content, Angular Material Carousel delivers a fast, polished experience.

Try it now and elevate your app’s UI! 🚀

Basic Carousel

Loading...

Carousel controls with custom position

Loading...

Carousel with fade effect

Loading...

API Reference

Properties for the emr-carousel component.

PropTypeDefault
fade
Adds smooth opacity to left and right
booleanfalse
snapToCenter
Enables or disables the automatic snapping of a card to the center of the viewport after dragging ends (if an inertial flick did not occur).
booleantrue
snapDebounceTime
The delay in milliseconds after the mouse button is released before starting the snapping animation (to the nearest or next card) or the "rubber band" return animation.
number50
snapDuration
The duration in milliseconds for all animations performed by the component: snapping to a card and the "rubber band" return.
number300
resistanceFactor
Adjusts the "feel" and amount of visual displacement when attempting to pull content past the edge positions.
number0.5
velocityThreshold
The threshold velocity (in pixels per millisecond) of the mouse movement at the moment the button is released. If the velocity exceeds this threshold, the carousel will switch to the next card in the direction of movement (inertial flick) instead of the nearest one to the center.
number0.5
visibilityDebounceTime
The delay in milliseconds after the last scroll event (not caused by dragging) before updating the visibility CSS classes (is-in-view, is-spanned) on the cards.
number100

Properties for the emrCarouselNext component.

PropTypeDefault
carousel
Сarousel instance if the control is external
CarouselComponent

Properties for the emrCarouselPrevious component.

PropTypeDefault
carousel
Сarousel instance if the control is external
CarouselComponent

emr-carousel-card component - adds an carousel item.

emrCarouselControls directive - adds a controls container.

emrCarouselNext directive - control that moves to the next item in the carousel.

emrCarouselPrevious directive - control that moves to the previous item in the carousel.