Scroll-spy menu with progress line, active section navigation
Portuguese name: Menu que acompanha a rolagem
The menu marks the section on screen. A line under the links slides to the current section's link and fills up as you read through that section.

When to use it
Long single pages: business sites, landing pages, docs, product pages. Each link must point to a section id. If the menu is fixed at the top, give the sections scroll-margin-top. With data-direcao="vertical" it becomes a side index. Change data-ponto to decide at what screen height a section counts as current. The current link gets aria-current="location".
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:
<nav data-efeito="menu-rolagem-linha" aria-label="Seções"><a href="#sobre">Sobre</a><a href="#servicos">Serviços</a><a href="#contato">Contato</a></nav>
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