vibran

Progress morph button, loading bar button

Portuguese name: Botão que vira barra de progresso

On click the button shrinks into a thin bar that fills up with the percentage underneath. At 100% it turns into a green dot and the check draws itself, then it goes back to the original button.

Preview of Progress morph button, loading bar button running live
Copy the promptAdjust colors and speed

When to use it

File uploads, exporting a report, issuing an invoice, saving a form: any action that takes a few seconds and needs to show it is moving. Leave about 2em of room under the button for the percentage. For a real upload use data-manual="sim", call el.progresso(0.4) as the upload advances and listen for the "concluido" event.

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-progresso" data-duracao="2600">Enviar documentos</button>

More buttons effects

All 41 buttons effects →