A scroll-driven portrait wall with a sticky mix-blend-exclusion title; GSAP ScrollTrigger scrubs each portrait from scale 0 to 1 and back as its row crosses the viewport.
Install
Add it to your project
Run this in a project set up for shadcn/ui. It writes the files and installs the npm packages.
First time: connect the Infinity UI registry
- Create a personal token on your Tokens page.
- Put it in
.env.localasINFINITYUI_TOKEN. - Add the registry to
components.json:
{
"registries": {
"@infinityui": {
"url": "https://infinityui.io/r/{name}.json",
"headers": {
"Authorization": "Bearer ${INFINITYUI_TOKEN}"
}
}
}
}Using Claude Code, Codex, Cursor, Lovable or v0? See CLI & MCP for a setup prompt.
npm packages it adds
- gsap
- @gsap/react
Code
import {
ScrollPortraitWall,
type Speaker,
} from "@/registry/ruixenui/scroll-portrait-wall";
// 5 avatars on the CDN, cycled across the speakers.
const speakers: Speaker[] = [
{ name: "Naomi Adeyemi", role: "Keynote · Design Systems" },
{ name: "Hugo Marchetti", role: "Principal Engineer, Vercel" },
{ name: "Priya Nair", role: "Head of AI, Loomstack" },
{ name: "Sebastian Cole", role: "Creative Director" },
{ name: "Mei-Ling Zhao", role: "Staff Designer, Linear" },
{ name: "Idris Calloway", role: "Founder, Northwind" },
{ name: "Clara Boström", role: "VP Product, Figma" },
{ name: "Rafael Ortega", role: "Motion Lead" },
{ name: "Hannah Whitfield", role: "DX Engineer, Stripe" },
{ name: "Yusuf Demir", role: "Research, DeepMind" },
].map((s, i) => ({
...s,
src: `https://pub-940ccf6255b54fa799a9b01050e6c227.r2.dev/avatar-images/avatar-${String((i % 5) + 1).padStart(2, "0")}.jpg`,
}));
export default function ScrollPortraitWallDemo() {
return (
<ScrollPortraitWall
title="The Lineup"
hint="scroll to meet the lineup"
date="Sep 18, 2026"
speakers={speakers}
showCaptions={false}
/>
);
}
































