vibran

Hourglass loader

Also called: flipping sand timer

A glass hourglass with chrome caps. Sand runs down in a thin thread, a mound grows below, and at the end it flips 180 degrees and starts again.

Preview of Hourglass loader running live
Copy the promptAdjust colors and speed

When to use it

For waits people don't control: support queues, payments being confirmed, report generation, countdowns to something opening. The hourglass conveys time passing better than a spinner. It doesn't show how much is left, so pair it with honest text. Set --ampulheta-areia to the brand color and --ampulheta-tempo to change how long each flip takes.

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="ampulheta" data-texto="Seu pedido está na fila"></div>

More loaders effects

All 27 loaders effects →