Angular Carousel Component | Animated Image slider | Syncfusion

Overview

The Angular Carousel component allows users to display images with content, links, and more, like a slide show. Typical uses of a carousel include scrolling news headlines, featured articles on home pages, and image galleries.

Angular Carousel Slider.


Easily get started with the Angular Carousel using a few simple lines of HTML and TS code example as demonstrated below. Also explore our Angular Carousel Example that shows you how to render and configure a Carousel in Angular.

<ejs-carousel cssClass="default-carousel">
    <e-carousel-items>
        <e-carousel-item>
            <ng-template #template>
              <figure class="img-container">
                <img src="https://ej2.syncfusion.com/angular/demos/assets/carousel/images/bridge.jpg" alt="bridge" style="height:100%;width:100%;" />
                <figcaption class="img-caption">Golden Gate Bridge, San Francisco</figcaption>
              </figure>
            </ng-template>
          </e-carousel-item>
          <e-carousel-item>
            <ng-template #template>
              <figure class="img-container">
                <img src="https://ej2.syncfusion.com/angular/demos/assets/carousel/images/trees.jpg" alt="spring_trees" style="height:100%;width:100%;" />
                <figcaption class="img-caption">Spring Flower Trees</figcaption>
              </figure>
            </ng-template>
          </e-carousel-item>
          <e-carousel-item>
            <ng-template #template> 
              <figure class="img-container">
                <img src="https://ej2.syncfusion.com/angular/demos/assets/carousel/images/waterfall.jpg" alt="waterfall" style="height:100%;width:100%;" />
                <figcaption class="img-caption">Oddadalen Waterfalls, Norway</figcaption>
              </figure>
            </ng-template>
        </e-carousel-item>
    </e-carousel-items>
</ejs-carousel>
import { Component, ViewEncapsulation } from '@angular/core';

@Component({
  selector: 'app-root',
  templateUrl: 'app.component.html',
  styleUrls: ['app.component.css'],
  encapsulation: ViewEncapsulation.None
})
export class AppComponent { }

Ease of use

The Carousel component provides flexible ways to create slides with items or a data source. Configure the look and feel of the Carousel to match your requirement using several built-in options.



Auto play slides

Carousel slide transitions are performed continuously in specified time intervals. You can also customize the time intervals.


Looping slides

Carousel’s looping functionality allows users to loop back to the first item after reaching the last item.


Completely customizable UI

Customize the appearance of any part of the Carousel interface using HTML and CSS styles.

Navigation Buttons in Angular Carousel Material component.

Allows the users to change the previous and next slides.

Play button in Carousel Angular Material component.

Play button

Users can control the auto play slide functionality by using the play button.

Indicators in Angular UI Carousel component.

Indicators

Users can show or hide the indicators to the carousel. Indicators provide quick navigation to any slide.


Web accessibility

  • Fully supports WAI-ARIA accessibility practices to work with screen readers and assistive devices.
  • Follows WAI-ARIA best practices for implementing keyboard interactions.
  • Based on the WCAG 2.0 standards, the UI visual elements such as foreground color, background color, line spacing, text, and images have been designed.
  • Supports right-to-left (RTL) text direction for users working with right-to-left languages like Hebrew, Arabic, or Persian.

Developer-friendly APIs

Developers can control the appearance and behaviors of the Carousel control using a rich set of APIs.


Themes

The Angular Carousel component supports built-in themes such as Material, Bootstrap, Fabric (Office 365), Tailwind CSS, and high contrast. Users can customize these built-in themes or create new themes to achieve their desired look and feel by either simply overriding SASS variables or using our Theme Studio application.

Angular Carousel Material Theme.





Transform your applications today by downloading our free evaluation version

Syncfusion Angular Carousel Resources