MantleUI

VerticalCarousel

A vertically-scrolling carousel with up/down navigation. Ideal for full height storytelling, vertical product tours, and mobile-first layouts.

Interactive Demo

Navigate with the up/down arrows or drag vertically to swipe.

Usage

import { VerticalCarousel } from "@mantleui/react/motion";
const slides = [
<div key="1">Discover</div>,
<div key="2">Customize</div>,
<div key="3">Compose</div>,
<div key="4">Ship</div>,
];
<VerticalCarousel slides={slides} defaultValue={0} height={400} loop />

Props

slides
ReactNode[]

The slides to render.

value
number

Controlled current slide index.

defaultValue0
number

Default current slide index (uncontrolled).

onValueChange
(index: number) => void

Called when the current slide changes.

autoplayfalse
boolean

Whether the carousel auto-advances.

interval3000
number

Autoplay interval in ms.

looptrue
boolean

Whether to wrap around at edges.

height400
number

Viewport height in pixels.

© 2026 MantleUI. All rights reserved.