Pinned sidebar, favorite menu items
Portuguese name: Sidebar com itens fixados
Every menu item has a star. Pinning slides the item up into a Pinned section and the others settle around it; unpinning sends it back to its original spot. Supports a pin limit, with a shake on the heading when it is exceeded.

When to use it
For systems with many screens where each person uses only four or five a day: ERP, store dashboards, CRM. The shortcut sits at the top without hiding the rest of the menu. Use data-max so the Pinned section does not grow into a second menu.
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="sidebar-fixados" data-max="4" aria-label="Menu principal">
<h3>Fixados <span data-conta></span></h3>
<ul data-lista="fixados"></ul>
<h3>Todos</h3>
<ul data-lista="todos">
<li data-fixado><a href="#"><svg>…</svg><span>Pedidos</span></a></li>
<li><a href="#"><svg>…</svg><span>Estoque</span></a></li>
</ul>
</nav>
More sidebar effects
- Vertical glass dock, spring active circleDock vertical de vidro
- Swipe drawer, off-canvas sidebarGaveta lateral com gesto
- Searchable sidebar, keyboard shortcutSidebar com busca e atalho
- Sidebar with rolling counters, odometer badgesSidebar com contadores que rolam
- Sidebar with spring active indicatorSidebar com indicador de mola
- Reorderable sidebar, drag to sort menuSidebar com itens reordenáveis
- Accordion sidebar, nested menuSidebar com submenus em acordeão
- Workspace switcher sidebarSidebar com troca de espaço