PRO

Triangle Fill Scroll

A pinned scene where a lattice of alternating triangles floods with color in a random order. Every cell is assigned a shuffled position in the sequence at build time, then fills once scroll passes its slot, each easing toward its target scale on its own, so the fill spreads as scattered noise rather than a wipe. Two canvases stack around the cards: hollow outlines behind and filled triangles in front, so the cards are swallowed as the grid closes over them.

Component

Enter a Universe Powered by Imagination

Silent Veil

PROD8372

Crimson Echoes

PROD4921

Zenith Arc

PROD7586

Chase the shadows to embrace the light

Install
npx shadcn@latest add https://ui.aryank.space/r/triangle-fill-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
cardsTriangleCard[]Three BLANK productsTitle, code, and image for each card in the strip.
accent / triangleSizestring / number#ff6b00 / 150Fill color and cell size, which drives grid density.
backgroundImagestringBlob-hosted sceneThe photograph behind the grid.
embeddedbooleantrueOwn the scroll container so it fits a bounded box. Set false to drive it from the window scroll.
Customize
accentcolor

Fill color of the triangles and the accent type.

triangleSizetext

Cell size in pixels, which sets the grid density.

Dependencies
gsaplenis