Skip to content

component

Rotating Cubes

By Cristian Mielu

Details

Summary

Add dimension to your design

Description

This component is an interactive 3D cube built with the Workshop plugin in Framer. It combines scroll-driven motion with extensive styling controls, making it a versatile and engaging element for modern digital experiences. ๐ŸŽฎ Interactivity The cube rotates dynamically along different axes in response to scroll input , creating a playful sense of depth and immersion. Motion can be fine-tuned with controls for smoothness and scroll sensitivity , ensuring the interaction feels natural and responsive. ๐ŸŽจ Customization The component offers a wide range of creative handles: Perspective โ€” Adjust the depth to match your layoutโ€™s visual hierarchy. Scaling โ€” Resize the cube to fit seamlessly into different design contexts. Face Styling โ€” Each face can be styled independently with custom colors. Borders โ€” Control border width, color, and radius to shift between sharp geometry and softer, more playful aesthetics. ๐Ÿ“ Positioning Requirements For the cube to function properly with scroll interactions, it needs to be placed with the correct positioning. You have four options: Fixed Position โ€” Position the cube directly as fixed. Inside a Fixed Stack (Recommended) โ€” Place the cube within a stack that is fixed. Sticky Position โ€” Apply sticky positioning directly to the cube. Inside a Sticky Stack (Recommended) โ€” Place the cube inside a stack with sticky positioning for a cleaner, more polished result. Tip: If you choose the sticky option, ensure the parent content (the cube itself or the stack containing it) has a height of at least 200vh . This provides enough scrollable space for the cubeโ€™s interactive effect to feel smooth and immersive. ๐ŸŒŸ Best Practice While all four positioning methods are supported, the most aesthetically pleasing approach is to place the cube inside a stack with sticky positioning . This balances technical reliability with visual elegance.

Introduction

Add dimension to your design

Rank history

Daily rank per list, from the first snapshot โ€” lower is better.

11001200120438/148/228/309/79/15
  • All ยท #1901