Blenra LogoBlenra
Optimized for: Gemini / ChatGPT / Claude
#GSAP

Advanced AI Prompt for GSAP Smooth Scroll Integration

Customize the variables below to instantly engineer your prompt.

Required Variables

gsap-scrollsmoother-setup-portfolio.txt
Act as an Elite Interactive Frontend Architect. Utilizing the premium GSAP `ScrollSmoother` plugin, architect a flawless, momentum-based scrolling experience for a flagship portfolio website. Isolate and target the [CONTENT_ID] as the absolute main content wrapper. Define the mathematical smooth strength friction utilizing the [SMOOTH_AMOUNT] variable (e.g., `1.5` seconds of physical drag). Explicitly enable the [EFFECTS_BOOLEAN] flag (`effects: true`) to programmatically unlock the capability to parse `data-lag` and `data-speed` HTML attributes on massive, high-res portfolio images, generating automated parallax without writing additional timeline code. Provide the exact, strict initialization script ensuring that `ScrollTrigger.refresh()` is forcefully called immediately after the smoother mounts to prevent calculation errors. Embed a critical `matchMedia` constraint to completely disable the plugin on touch-based mobile devices, intentionally preserving native iOS/Android scrolling UX.

Expected Visual Output

Expected visual output for Advanced AI Prompt for GSAP Smooth Scroll Integration

Example Text Output

"The AI outputs the initialization code for ScrollSmoother"

More Web Components Prompts

View all →

Frequently Asked Questions

What is the "Advanced AI Prompt for GSAP Smooth Scroll Integration" prompt used for?

The AI outputs the initialization code for ScrollSmoother

Which AI tools work with this prompt?

This prompt is optimized for Gemini / ChatGPT / Claude, but works great with ChatGPT, Claude, Gemini, and other large language models. Simply copy it and paste it into your preferred AI tool.

How do I customize this prompt?

Use the variable fields above to fill in your specific details. The prompt will auto-update as you type, ready to copy instantly.

Is this prompt free?

Yes! All prompts on Blenra are free to copy and use immediately. No account required.