Back to prompts
PROMPT_005 / ANIMATIONS

MAKE SCROLLING FEEL DIRECTED.

One shared observer hook powering reveal, blur reveal and staggered grids across the whole app.

BEST FOR
Sites where every section currently appears instantly and flatly.
DIFFICULTY
Easy
TOOLS
Lovable · Cursor · Bolt
USE THIS IN LOVABLE
Implement a single scroll animation system.

Create one useInView hook using IntersectionObserver at threshold 0.15 that unobserves after the first intersection. Build three components on top of it: Reveal (opacity 0 to 1, translateY 14px to 0, 700ms), BlurReveal (adds blur 8px to 0, 800ms), and StaggerGroup (children get style --i and transition-delay calc(var(--i) * 70ms), capped at 500ms total).

Apply Reveal to section headers and card grids, BlurReveal to hero and section headlines only. Do not animate every element on the page. Under prefers-reduced-motion, render everything at final state immediately.

---
Tool: Lovable. Apply the changes directly to the existing codebase, reuse the current design tokens and component structure, and do not introduce new dependencies.

RECOMMENDED INTERACTIONS.

INTERACTION_015CSS + JS

Scroll Reveal

Content fades and rises as it enters the viewport.

Scroll / LightView
INTERACTION_016CSS + JS

Blur Reveal

Content sharpens from blur as it enters view.

Scroll / MediumView
INTERACTION_017CSS + JS

Stagger Reveal

Children enter in sequence with a fixed delay step.

Scroll / LightView

RELATED PROMPTS.

PROMPT_001 / LANDING PAGES

MAKE MY WEBSITE FEEL EXPENSIVE.

Adds restrained motion, glass surfaces, premium hover behavior, better typographic transitions and professional microinteractions.

premiumlanding-pagemicrointeraction
Preview
PROMPT_002 / LANDING PAGES

BUILD A LANDING PAGE THAT LOOKS HIRED.

A complete dark, monochrome, editorial landing page structure with asymmetric bento sections and restrained motion.

premiumlanding-pagedark-ui
Preview
PROMPT_003 / BUTTONS

GIVE MY CTA GRAVITY.

A reusable cursor-following button component with proper touch and reduced-motion fallbacks.

buttonmousepremium
Preview