PRO

Ribbon Stroke Scroll

A pinned intro where thick rounded ribbons draw themselves across three oversized rows on scroll, two curved ribbons sweep through and erase themselves, the palette flips to dark halfway, and the rows finally slide off screen.

Component

Scroll down to watch calm quietly unravel

Welcome back, things have shifted again

Every line you drew is still down here

Install
npx shadcn@latest add https://ui.aryank.space/r/ribbon-stroke-scroll.json

Installs from ui.aryank.space. To add it by hand, copy the files in Usage below, or register the @compronents namespace via the docs.

Files

API
PropTypeDefaultDescription
rowColors[string, string, string][]3x3 warm and cool paletteStroke colors of the nine straight ribbons.
curveColors[string, string]["#FFC412", "#FF6D38"]Stroke colors of the two curved sweep ribbons.
embeddedbooleantrueOwn the scroll container; set false to ride the window scroll.
Customize
rowColors / curveColorscolor

The ribbon palette per row and for the two sweeps.

introInText / introOutText / outroTexttext

Headline copy before and after the dark flip.

Dependencies
gsaplenis