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

Technical Prompt for React Horizontal Scroll Sections with Framer Motion

Customize the variables below to instantly engineer your prompt.

Required Variables

react-horizontal-scroll-framer-motion-component.txt
Design a complex React component that transforms vertical page scrolling into horizontal movement for a gallery of [SECTION_DATA]. Utilize a sticky container with a dynamic height of [STICKY_CONTAINER_HEIGHT] to facilitate the scroll length. Use Framer Motion's useTransform to map the 'scrollYProgress' of a target ref to an 'x' percentage. Implement [TRANSITION_STYLE] for entry animations of individual items within the horizontal track. Include a progress bar at the bottom that synchronizes with the horizontal displacement. Optimize for mobile by adding touch-swipe fallbacks or ensuring the scroll experience remains fluid.

Example Text Output

"The AI will output a modular React component that uses a sticky wrapper to pin the viewport while translating a horizontal inner container based on the user's vertical scroll progress."

More Web Components Prompts

View all →

Frequently Asked Questions

What is the "Technical Prompt for React Horizontal Scroll Sections with Framer Motion" prompt used for?

The AI will output a modular React component that uses a sticky wrapper to pin the viewport while translating a horizontal inner container based on the user's vertical scroll progress.

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.