vibran

Glass button

Portuguese name: Botão de vidro

A frosted glass button that shows the blurred background behind it, with a curved highlight on top. On hover, a sheen of light sweeps across the glass.

Preview of Glass button running live
Copy the promptAdjust colors and speed

When to use it

Looks right over photos or video: guesthouse heroes, real estate, photographers, travel agencies. On a flat background the glass has nothing to blur and looks like a washed-out button. Raise --vidro-botao-cor when the photo behind is bright, so the text doesn't vanish.

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-vidro">Ver a galeria</button>

More buttons effects

All 41 buttons effects →