vibran

3D cube loader

Also called: rotating glass cube

A 3D cube loader. A glass cube with a grid on each face spins in 3D around a light core turning the other way. The faces drift apart and back, and the cube tilts toward the mouse or finger.

Preview of 3D cube loader running live
Copy the promptAdjust colors and speed

When to use it

For architecture, games, 3D tools, tech, or any loading screen that is about building something. For a neighborhood shop or clinic a cube can feel too cold. Adjust --cubo-cor and --cubo-nucleo to match the brand, --cubo-tempo for a slower spin, and use data-inclinar="0" if you don't want it to follow the pointer.

How to add it to your site

  1. Copy the prompt in the gallery. It comes with the effect's name and the full code. The prompt text is written in Portuguese, and AI builders handle that fine.
  2. Paste it into your AI: Lovable, Claude, Cursor, Bolt or v0.
  3. Done: the AI adds the effect to your project, just like you saw it here.

Use it in HTML

The effect is plain JavaScript, no library. Just put the data-efeito attribute on the element:

<div data-efeito="cubo-carregando" data-texto="Montando o ambiente"></div>

More loaders effects

All 27 loaders effects →