Vertical Focus Marquee

PRONew

Preview live, install via shadcn or copy the source.

Installation

Install via shadcn

This will install the component and its dependencies automatically.

PRO COMPONENT

Unlock with PRO

This component is exclusive to reframe/ui PRO.
Get instant access to all premium components and templates.

Usage

vertical-focus-marquee-usage.tsxTSX

Props

NameTypeDefaultRequiredDescription
itemsVerticalFocusItem[]YesItems with label + src (video/image).
intervalnumber3000NoMs between auto-advances. 0 disables autoplay.
durationnumber0.85NoGSAP duration for slide/scale.
easestringpower3.inOutNoGSAP ease.
pauseOnHoverbooleanfalseNoPause autoplay while hovering.
accelerateOnScrollbooleanfalseNoTemporarily accelerate on scroll.
scrollAccelerationFactornumber2.5NoMultiplier for scroll acceleration.
scrollAccelerationResetDelaynumber250NoMs after last scroll before reverting.
gapnumber64NoGap between cards (px).
inactiveScalenumber0.9NoScale of inactive cards.
activeScalenumber1NoScale of active card.
heightstring100svhNoContainer height CSS (e.g. "520px", "68vh", "100svh").
maxHeightstring100svhNoMax height CSS.
scalenumber1NoOverall scale multiplier for cards (0.5–1.5). Scales focus animation and gap proportionally.
cardWidthstringmin(820px,90vw)NoWidth of each card.
classNamestringNoRoot class.
viewportClassNamestringNoViewport class.
stackClassNamestringNoStack class.
cardClassNamestringNoEach card wrapper class.
cardMediaClassNamestringNoMedia container class.
labelClassNamestringNoLabel class.
mediaClassNamestringNoMedia element class.
leftContentReact.ReactNodeNoLeft overlay content.
rightContentReact.ReactNodeNoRight overlay content.
bottomLeftReact.ReactNodeNoBottom-left content.
bottomRightReact.ReactNodeNoBottom-right content.
renderCard(item, index) => React.ReactNodeNoCustom card renderer.
loopbooleantrueNoSeamless loop with clones.
© reframe/ui 2026Built by @thommysart
More in Galleries & Carousels