Scroll & Motion
Large content cards stacked down the page. Each card sticks to the viewport as the reader scrolls, so the next card slides up over it and stacks. Popular for product feature walkthroughs, multi-step explainers, and pricing tiers where each step deserves the full screen.
Live preview
No extra dependencies. React 18+ and Tailwind CSS v3+ assumed. Save as StickyStackedCards.tsx.
Paste the prompt into the tool you already use. Each version is written specifically for that tool, matched to the same design constraints so the output stays consistent.
Build components/StickyStackedCards.tsx. Renders a vertical stack of large rounded cards (rounded-3xl, background near-white, border 1px #E5E5E5, padding 48px). Each card sticks to the top of the viewport with position sticky, and the outer wrapper height equals cards.length * 100vh so scrolling reveals the next card sliding up over the previous. As a later card enters, the earlier card scales down slightly (0.95) and dims (opacity 0.6). Use CSS calc for sticky top offsets so cards visually stack. Card content: a small eyebrow (uppercase-natural 11px), a large headline (font-medium, 36-48px, tracking-tight), a two-sentence body, and an optional right-side visual slot (child prop). Accept a cards prop of { eyebrow, title, body, visual? }[]. Font-sans only. No icons. No extra dependencies (pure CSS + React). Reduced-motion: collapse to a simple stacked list. Mobile: stack full-width without sticky. Single default export.Scroll & Motion
Word-by-Word Text Reveal Scroll Hero
Scroll-driven word-by-word text reveal hero for React, small headline that arrives one word at a time.
Scroll & Motion
Line-by-Line Text Reveal Scroll Hero
Scroll-driven line-by-line text reveal hero for React essays and story openings.
Scroll & Motion
Sticky Split Text Scroll Hero
Scroll-driven split text hero for React, two-half headline parts on scroll to reveal a subtitle.
Copy the source file from the "Copy code" button and save it into your components folder. Add any listed dependencies (React 18 or later and Tailwind CSS v3 or later are always required, plus framer-motion or gradflow if the component lists them). Import and render the component wherever you want it. Every prop is optional and defaulted.
Yes. Every component takes props for its content (headline, subtitle, image URL, CTA, and so on) and uses Tailwind classes throughout, so you can restyle without touching the logic. For deeper design changes, paste the prompt into Claude Code, Cursor, Lovable, Replit, or Codex and describe your brand tokens, spacing, or motion tweaks.
Yes. Everything on this page is free to copy, adapt, and ship in commercial projects. No attribution required. If you post a public showcase we always appreciate a link back.
All five prompts produce the same design. Claude Code and Codex are best when you want the component slotted into a project with existing conventions. Cursor is ideal for editing inside your IDE with the file open. Lovable and Replit spin up a fresh preview fastest, useful for a quick play.
Yes. The source files are plain React 18 client components. They run on any framework that supports React 18 and Tailwind CSS v3. If a component needs the "use client" directive (all of them do here, since they use hooks), keep the directive at the top of the file when you paste.