vibran

Origami breadcrumb, folded paper breadcrumb trail

Portuguese name: Trilha de navegação em dobras

A breadcrumb made of folded-paper arrows: each step has a creased tip and unfolds one after another as it enters the screen. Long paths hide the middle behind an ellipsis button.

Preview of Origami breadcrumb, folded paper breadcrumb trail running live
Copy the promptAdjust colors and speed

When to use it

The top of inner pages in a shop, catalogue, docs or blog, where people need to know what level they are on. Mark the current page with aria-current="page" (if missing, the last step is marked). From data-max steps on, the middle collapses into an ellipsis button that opens on click; use data-max="0" to show everything. On phones the trail scrolls sideways and starts at the end.

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 aria-label="Trilha de navegação" data-efeito="trilha-dobras"><ol><li><a href="/">Início</a></li><li><a href="/cardapio">Cardápio</a></li><li><a href="/cardapio/pizzas" aria-current="page">Pizzas</a></li></ol></nav>

More navigation effects

All 20 navigation effects →