Interactive Card Wheel with Spring Motion and Hover EffectsInteractive Card Wheel with Spring Motion and Hover Effects
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started
When I see this module on other Sites it looks mostly pretty static. And as I love details, I tried to add those into the interaction. For example that you can interact with it. You can rotate it with the mouse. You can use scrolling to the left and right, it responses. You hover through it with the mouse and the cards are moving subtle. The wheel doesn’t spin as one whole block, the whole wheel runs on a single frame loop. No tweens per card. Every card hangs on its own little spring (340ms, with a small bounce), and each one starts slightly later than the card next to it, 12ms per card. That gives it a nicer feeling when dragging it. Less static, more alive. When you spin it fast, the bottom edge of each card swings behind the movement, up to 22°. It pivots from the top edge and overshoots a little before settling, like pages swinging on a ring. And I tried a small intro animation to see how those cards could come in when scrolling into view or when it is part of the hero. No WebGL or WebGPU involved in here.
Yash's avatar
12ms per card sounds like nothing but you can really feel it when it drags
Eduard's avatar
Yeah, that makes a huge difference 😃
Muhammad's avatar
Tekmora Solutions logo
Love that the module rotates with the mouse and responds to scroll. Small interaction details like that make a static section feel alive.
Eduard's avatar
Absolutely! Thank you
Bella's avatar
Love this!
Eduard's avatar
Happy to hear that! Thanks 🤓
Alex's avatar
The pivot from the top edge is what sells the ring idea. How do you handle prefers-reduced-motion here, keep the drag but drop the 22° swing?
Eduard's avatar
Currently yes, like that. But I don‘t think you need a reduced version here as the animation is not that immersive 🤔
Yuliia's avatar
the top-edge pivot is the detail i like most. the cards still feel attached when you fling the wheel, which makes the whole thing feel like an object you can actually grab.
Eduard's avatar
Thank you! Yeah that makes a huge difference 🤓
Back to feed
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started