PRO

Detroit Paris Slider

An infinite image stream whose slides grow along an exponential baseline. Wheel, drag, and idle motion push one scroll target while each poster wraps through the track and swaps images as it re-enters.

Component

Perpetual Motion

Install
npx shadcn@latest add @compronents/detroit-paris-slider

Installs from ui.aryank.space. Needs a registry token and a one-time @compronents entry in components.json. The docs walk through both.

Files
Checking access…
API
PropTypeDefaultDescription
imagesstring[]10 Compronents-hosted JPGsPoster images wrapped through the stream.
titlestring"Perpetual Motion"Display title placed over the slider.
lerp / scrollSpeednumber0.075 / 3.5Smoothing and input sensitivity.
minSize / growth / aspectnumber0.1 / 0.25 / 0.8The math that determines slide sizes along the track.
autoplay / autoplaySpeedboolean / numbertrue / 0.004Idle motion so the stream moves before user input.
Customize
imagesasset-url

Ten poster images hosted through https://ui.aryank.space/assets/detroit-paris-slider/slide-img-1.jpg and the numbered set.

titletext

Large header over the stream.

growth / scrollSpeedtext

Exponential spacing strength and pointer/wheel sensitivity.

Dependencies
None.