vibran

Download button, animated download icon

Portuguese name: Botão de download com seta que cai

A light button with a tray icon. On click the arrow keeps dropping into the tray while a blue line fills along the button's base and the percentage climbs. At the end the arrow turns into a check and the label changes to Baixado.

Preview of Download button, animated download icon running live
Copy the promptAdjust colors and speed

When to use it

Customer areas, invoices, contracts, reports, PDF catalogues, any file a visitor downloads. On a link with href and download, the browser downloads normally and the animation just follows along. For a real progress download, use data-manual="sim", call el.progresso(0 to 1) and listen to the "baixar" and "baixado" events.

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:

<button data-efeito="botao-download" data-baixando="Baixando" data-pronto="Baixado">Baixar contrato</button>

More buttons effects

All 41 buttons effects →