Rainbow button
Portuguese name: Botão arco-íris
A dark rainbow button with a border of moving colors and a glow of the same colors underneath. The glow grows on hover.

When to use it
Grabs attention on dark backgrounds: product launches, festivals, bar menus, event signups. The running colors clash with a tight brand palette, so use it once per page and away from other colorful effects. You can swap the five colors (--arco-iris-1 to --arco-iris-5) for brand tones and raise --arco-iris-tempo for slower motion.
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="botao-arco-iris">Baixar o cardápio</button>
More buttons effects
- 3D push buttonBotão 3D
- Loading to success buttonBotão carregando e sucesso
- Cursor-aware light border button, conic border follows mouseBotão com borda de luz que aponta para o mouse
- Gradient border buttonrotating border
- Marching ants button, animated dashed border buttonBotão com borda tracejada em marcha
- Shimmer buttonBotão com brilho passando
- Stroke draw buttonSVG border animation
- Particle burst buttonBotão com explosão de partículas