Carousel

A carousel with motion and swipe built using Embla.

carousel

Demos

Description of the SVG image Loading...

About

The Carousel component is built on top of Embla Carousel library.

Installation

Run the following command:

npx ever-ui-clx@0.2.1 add demo-carousel

Usage

import {
  Carousel,
  CarouselContent,
  CarouselItem,
  CarouselNext,
  CarouselPrevious,
} from "@/components/ui/carousel";
<Carousel>
  <CarouselContent>
    <CarouselItem>...</CarouselItem>
    <CarouselItem>...</CarouselItem>
    <CarouselItem>...</CarouselItem>
  </CarouselContent>
  <CarouselPrevious />
  <CarouselNext />
</Carousel>