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

Advanced AI Prompt for Skew-on-Scroll Velocity Effects

Customize the variables below to instantly engineer your prompt.

Required Variables

skew-on-scroll-velocity-framer-motion.txt
Act as an Advanced Interaction Developer. Implement a high-end 'skew-on-scroll' physics effect in React leveraging Framer Motion's `useVelocity` and `useSpring` hooks. The designated [TARGET_ELEMENTS] (e.g., a masonry grid of images or typography blocks) must physically skew along the [ORIENTATION] axis (X or Y) proportionally to the raw speed of the user's scroll. Utilize `useScroll` to track the Y position, feed that into `useVelocity` to extract the delta, and construct a `useTransform` to map that velocity integer to a CSS skew angle, strictly capped at [MAX_SKEW_ANGLE] to prevent visual breakage. Utilize [VELOCITY_STRENGTH] as a multiplier to amplify the sensitivity of the effect. Crucially, the skew must organically snap back to `0deg` the instant scrolling ceases; achieve this by piping the velocity transform through a `useSpring` configured with high damping and mass. This replicates the 'liquid' or 'jelly' physics common in top-tier Awwwards design portfolios.

Example Text Output

"The AI will provide a hook and component implementation where elements physically tilt or distort slightly in the direction of the scroll, with the intensity based on scroll speed."

More Web Components Prompts

View all →

Frequently Asked Questions

What is the "Advanced AI Prompt for Skew-on-Scroll Velocity Effects" prompt used for?

The AI will provide a hook and component implementation where elements physically tilt or distort slightly in the direction of the scroll, with the intensity based on scroll speed.

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.