Vertical Image Marquee
A seamless editorial portrait strip that rises through a clean light or dark canvas, with unrounded panels and quiet, generous gutters.
Installation#
pnpm dlx shadcn@latest add @davinciui/vertical-image-marqueeUsage#
API Reference#
| Prop | Type | Default |
|---|---|---|
itemsPortrait sources and their alt text, repeated into the seamless loop. | readonly VerticalImageMarqueeItem[] | — |
durationSeconds for one full image sequence to travel through the stage. | number | 15.2 |
gapWhite or black gutter between consecutive panels, in pixels. | number | 72 |
imageWidthCSS width used for every panel. | string | "min(88%, 31rem)" |
aspectRatioWidth divided by height for each portrait panel. | string | "0.61" |
pauseOnHoverPause the decorative loop while a pointer is over the stage. | boolean | false |
classNameAdditional classes for the themed marquee stage. | string | — |
Accessibility#
The stage exposes role=img with a fixed aria-label, and the duplicated track and all images are hidden from assistive tech. Alt text on items is ignored because each img uses alt empty.
Motion#
The duplicated column scrolls one sequence height with a linear infinite CSS animation; duration sets seconds per sequence and pauseOnHover pauses on pointer. prefers-reduced-motion pauses the track via animation-play-state.
View source
Keep in mind
Need a custom component?
I build bespoke UI components & websites tailored to your brand.

