Back to Components
Components

Carousel Fade

Image carousel with smooth fade transitions, autoplay, keyboard navigation, and dot indicators.

Forest path with morning light

Morning trail through the forest

Mountain ridge at sunrise

Ridge glow at first light

Lakeside cabin in the mist

Still waters by the cabin

Waterfall in a lush valley

Light through the falls

Dependencies

  • clsx
  • tailwind-merge

Files

  • components/ui/carousel-fade.tsx

Installation

Using shadcn CLI

npx shadcn add carousel-fade --url https://ui.hampton.io

Manual installation

Copy the component file to your project and install dependencies:

npm install clsx tailwind-merge