Glass context menu with command search
Portuguese name: Menu de contexto de vidro com busca de comandos
A menu that opens on right-click (and on a ⋯ button for touch) at the cursor, without leaving the screen, scaling from the clicked point. Dark glass with a blue border that glows brighter near the mouse, a field that filters commands as you type, titled groups and a light background on the focused item. Arrows, Enter and Esc work.

When to use it
For editors, file managers and dashboards where right-click needs to give quick access to commands. The search inside the menu helps when the list is long. The ⋯ button covers touch users. Listen to the menu-contexto-vidro:escolha event to run the action.
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:
<div data-efeito="menu-contexto-vidro" data-placeholder="digite um comando ou busque">
<button type="button" data-menu-botao aria-label="Abrir menu de ações">⋯</button>
<div class="ef-menu" hidden>
<div data-grupo="Sugestões">
<button type="button"><svg>…</svg><span>Nova nota</span><kbd>N</kbd></button>
</div>
<div data-grupo="Configurações">
<button type="button"><svg>…</svg><span>Atalhos de teclado</span></button>
</div>
</div>
</div>
More navigation effects
- Folder tabstrapezoid tabs
- Expandable icon tabs, expanding tab barAbas de ícone que expandem
- Sliding tabs, directional tab transition, stretching tab underlineAbas deslizantes
- Sliding pill tabssegmented control
- Gooey tabs, liquid tab indicator, liquid navbarAbas líquidas
- Curved bottom tab bar, jumping bubble tab bar, mobile bottom navigationBarra de app com bolha
- Bottom tab bar in 11 stylesBarra inferior de app em 11 estilos
- Shrinking glass navbar, sticky header on scrollBarra que encolhe e vira vidro