vibran

Tubelight navbar

Portuguese name: Menu com luz

A tubelight navbar in a pill shape. The active item gets a background that slides to it, with a thin lamp on top casting light downward.

Preview of Tubelight navbar running live
Copy the promptAdjust colors and speed

When to use it

A pill-shaped top menu for one-page sites or sites with few sections: studios, SaaS, portfolios. With many items the pill gets long and won't fit on phones; switch to a hamburger menu there. Set data-cor to the brand light, and use data-seguir="sim" if you want the background to follow the mouse.

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:

<nav data-efeito="menu-lampada"><a href="#inicio" aria-current="page">Início</a><a href="#sobre">Sobre</a><a href="#contato">Contato</a></nav>

More navigation effects

All 20 navigation effects →