tween
ComponentsTemplatesShowcaseContact

Command Palette

Search for a command to run...

Getting Started
  • Introduction
  • Installation
  • StoryNew
Guides
  • Motion Principles
  • Scroll and Smooth Scroll
  • Performance and Accessibility
Scroll Animations
  • Sticky Cards Scroll
  • Rise Fan Cards Scroll
  • Rotate Stack Scroll
  • Doodle Lens ScrollNew
  • Slit Open Hero ScrollNew
  • Logo Mask Zoom ScrollNew
  • ASCII Dissolve ScrollNew
  • Lottie Flight ScrollNew
  • Inline Icon Text ScrollNew
  • Starfield ScrollNew
  • Name Swap ScrollNew
  • Spotlight Gallery HeroNew
  • Slit Rotate Hero ScrollNew
  • Stroke Cover ScrollNew
  • Stroke Rows ScrollNew
Text Animations
  • Text Skew Reveal
  • Block Text Reveal
Hover & Cursor
  • Image Trail Cursor
  • Cursor Depth Logo
  • Physics Tag Drop
  • Elastic Card ListNew
  • Magnetic Cards SpringNew
Sliders & Carousels
  • Wheel Fullscreen Carousel
  • Ripple Displacement Slider
  • Three.js Blend Slider
  • Stacked Deck Slider
  • Orbit Cylinder SliderNew
  • Fan Stack SliderNew
  • Exponential Strip SliderNew
  • Dual Column SliderNew
Galleries & Grids
  • Scroll Wave Gallery
Menus & Navigation
  • Shrink Page MenuNew
Preloaders & Intros
  • Floating Items RevealNew
  • Word Cycle RevealNew
  • Tile Grid LoaderNew
Page Transitions
  • Panel Assembly TransitionNew
3D & WebGL
  • Fractal Glass Hero
  • Fluid Cursor Canvas
  • Fluid Portrait Hero
  • Fluid Gradient Canvas
  • Inversion Lens HoverNew
UI Elements
  • Circular Widgets
  • Vinyl Cover
  • Image Explosion Footer
  • Accordion Image FramesNew

(Tween) — Motion registry

Animated components & full sites, one command away.

Product

  • Components
  • Templates
  • Installation
  • Guides
  • Blog
  • Contact

Categories

  • Scroll Animations
  • Text Animations
  • Hover & Cursor
  • Sliders & Carousels
  • Galleries & Grids
  • Menus & Navigation
  • Preloaders & Intros
  • Page Transitions
  • 3D & WebGL
  • UI Elements
TWEEN
ease: power2.inOut0.00s
© 2026 TweenBack to topBuilt by mohammad
  1. Docs/
  2. Components/
  3. Exponential Strip Slider

Exponential Strip Slider

PreviousNext

An infinite horizontal strip where slide widths grow exponentially across the container, driven by a lerped wheel, drag and touch scroll.

Open in
exponential-strip-slider-demo

Slow Vessels

components/ui/exponential-strip-slider-demo.tsx
import { ExponentialStripSlider } from "@/registry/tween/exponential-strip-slider"

export function ExponentialStripSliderDemo() {
  return <ExponentialStripSlider />
}

Installation

pnpm dlx shadcn@latest add https://tweenui.dev/r/exponential-strip-slider.json

Usage

import { ExponentialStripSlider } from "@/components/ui/exponential-strip-slider"
<ExponentialStripSlider
  title="Slow Vessels"
  images={[
    "https://images.unsplash.com/photo-1638303322325-ff70d6224a22?q=80&w=1200&h=1500&fit=crop&crop=center&auto=format",
    "https://images.unsplash.com/photo-1605117012605-b68dedd4accc?q=80&w=1200&h=1500&fit=crop&crop=center&auto=format",
    "https://images.unsplash.com/photo-1666445844615-0a3930270f13?q=80&w=1200&h=1500&fit=crop&crop=center&auto=format",
  ]}
/>

How it works

  • Slide edges follow a geometric series: the left edge of slide n sits at width * minSize * (e^(growth * n) - 1) / (e^growth - 1), so each slide is e^growth times wider than the one before.
  • Every slide keeps the same aspect, so heights grow with widths and all slides sit on the bottom edge.
  • Just enough slides to cover the container are recycled. When one slides off an edge, it jumps a full cycle and picks the next image, so the strip never ends.
  • Wheel, drag and touch input (on the component only) move a target scroll; a requestAnimationFrame loop lerps toward it.
  • With prefers-reduced-motion: reduce, the strip renders at rest.

Props

PropTypeDefaultDescription
imagesstring[]10 defaultsImage URLs cycled through the strip.
titleReactNode"Slow Vessels"Heading in the top-left corner.
lerpnumber0.075Lerp factor toward the scroll target.
scrollSpeednumber3.5Input speed multiplier.
minSizenumber0.1Smallest slide width as a fraction of the width.
growthnumber0.25Exponential growth per slide step.
aspectnumber0.8Slide width / height ratio.
baselinenumber0Lift off the bottom edge as a fraction of height.
backgroundstring"#ece7df"Section background color.
classNamestring—Extra classes on the outer section.
Fan Stack SliderDual Column Slider

On This Page

InstallationUsageHow it worksProps

Contribute

  • Report an issue
  • Request a feature
  • Edit this page