vibran

Liquid glass button, glassmorphism button

Portuguese name: Botão de vidro líquido

A thick glass pill with a white specular highlight on top and an edge that refracts blue, green, purple and orange. The edge rotates with the mouse, a pool of light follows the cursor, and pressing squishes the glass before it springs back.

Preview of Liquid glass button, glassmorphism button running live
Copy the promptAdjust colors and speed

When to use it

Works on hero sections with photos, video or colourful backgrounds, action bars and app cards. It needs something behind it to refract, so on a flat background add a gradient or colour blobs. Use data-variante="primario" for the main action and "secundario" for the rest, and raise --vl-desfoque if text behind the button gets in the way.

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-liquido" data-cor="azul">Reservar horário</button>

More buttons effects

All 41 buttons effects →