Images Slider

A full page slider with images that can be navigated with the keyboard.

Installation

Run the following command

npx shadcn@latest add @aceternity/images-slider

Props

PropTypeDefaultDescription
imagesstring[]-An array of image URLs to be displayed in the slider.
childrenReact.ReactNode-Any React nodes that will be rendered inside the slider.
overlayReact.ReactNodetrueIf true, an overlay will be displayed on the images.
overlayClassNamestring-The CSS class name to be applied to the overlay.
classNamestring-The CSS class name to be applied to the slider.
autoplaybooleantrueIf true, the slider will automatically move to the next image every 5 seconds.
direction"up" | "down""up"The direction of the transition when changing images.

Build websites faster and 10x better than your competitors with

Aceternity UI Pro

Next.js 15, Tailwind CSS v4 and Motion for react powered templates

200+ templates and blocks combined

Ready to copy paste component blocks, save days of development time

Aceternity UI Pro Demo - Light Mode

Access an ever-growing collection of premium, meticulously crafted templates and Component Blocks.

A product by Aceternity
Building in public at @mannupaaji

© 2026 Aceternity Labs LLC. All Rights Reserved.