vibran

Newton's cradle loader, pendulum loader

Portuguese name: Carregador pêndulo

Newton's cradle loader: five hanging balls, the one on the end swings, hits, and the one on the other end answers.

Preview of Newton's cradle loader, pendulum loader running live
Copy the promptAdjust colors and speed

When to use it

Short and medium waits on login screens, form submissions and page loads. Use --pendulo-altura for the size and --pendulo-cor for the balls.

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="carregador-pendulo" data-rotulo="Carregando"></div>

More loaders effects

All 27 loaders effects →