Copy to clipboard icon
Portuguese name: Botão de copiar
A copy to clipboard icon that copies the text in data-texto with one click. The icon turns into a checkmark that draws itself, a "Copiado" message appears, and everything resets after 1.6 seconds.
When to use it
A compact version for copying a coupon, a Pix key, a tracking code or an invite link. Since it's icon-only, it needs a clear aria-label and the copied text visible next to it. Change data-aviso to something specific ("Coupon copied") and set --icone-copiar-ok to your success color.
How to add it to your site
- 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.
- Paste it into your AI: Lovable, Claude, Cursor, Bolt or v0.
- 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="icone-copiar" data-texto="BEMVINDO10" aria-label="Copiar cupom"></button>
Sites that use this effect
- NomiAI
More icons effects
- Animated checkmarksuccess icon
- Like buttonheart burst
- Hamburger menu toggleMenu hambúrguer que vira X
- Notification bellSino de notificação
- Orbiting circlesÓrbita de ícones