vibran

Gradient border button

Also called: rotating border

A blue and silver gradient border rotates around a dark button without stopping. On hover, the border light spills slightly outside the button.

Preview of Gradient border button running live
Copy the promptAdjust colors and speed

When to use it

Fits SaaS, subscriptions and digital products on dark pages, on the subscribe or free trial button. It looks out of place on light backgrounds, where the border glow gets lost. Set --borda-giratoria-cor and --borda-giratoria-brilho to the brand, and raise --borda-giratoria-tempo if a full turn feels too fast for the rest of the page.

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-borda-giratoria">Assinar o Pro</button>

Sites that use this effect

More buttons effects

All 41 buttons effects →