vibran

Liquid glass select, glass dropdown

Portuguese name: Seletor de vidro líquido com check

A select field shaped like a glass pill. When it opens, the glass menu drops down and a drop of light slides to the option under the mouse; the chosen option gets a check that draws itself in.

Preview of Liquid glass select, glass dropdown running live
Copy the promptAdjust colors and speed

When to use it

Order, booking and filter forms over colourful or photo backgrounds: delivery method, time slot, plan. Each option is a span with data-valor, and data-selecionado marks the one chosen at first. Listen to the "mudou" event to read the value; the menu flips upward on its own when there is no room below, and data-rotulo names the field for screen readers.

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:

<div data-efeito="seletor-vidro-liquido" data-rotulo="Entrega"><span data-valor="retirada">Retirar na loja</span><span data-valor="motoboy" data-selecionado>Motoboy · R$ 8</span></div>

More buttons effects

All 41 buttons effects →