vibran

Copy button with feedback

Portuguese name: Botão de copiar com aviso

A copy button with an icon and a label. On click it copies, and the label rolls up and swaps to a checkmark with "Copiado". After two seconds it goes back.

Preview of Copy button with feedback running live
Copy the promptAdjust colors and speed

When to use it

Made for things people paste elsewhere: install commands, Pix keys, coupon codes, addresses. Show the text being copied near the button, since nobody likes copying blind. Use data-alvo to copy straight from a code block on the page, and change data-feito when "Copiado" isn't specific enough ("Pix key copied").

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-copiar" data-texto="FRETEGRATIS">Copiar cupom</button>

More buttons effects

All 41 buttons effects →