Resizable sidebar, drag handle
Portuguese name: Sidebar redimensionável
Grab the sidebar edge and drag to widen or narrow it, with a label showing the width. Past the limit it snaps to an icon rail. Double-click toggles, arrow keys adjust it, and the width can be remembered.

When to use it
For products with long menu names or people who switch between a big monitor and a laptop, like barbershop, clinic and ERP dashboards. The handle is a focusable separator: Tab reaches it and arrows change the width in 16 px steps (Shift for 48). Tune data-min, data-max and data-limiar; with data-lembrar people return to the width they left.
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:
<aside data-efeito="sidebar-redimensionavel" data-min="190" data-max="420" data-lembrar="painel">
<nav aria-label="Principal">
<a href="#" aria-current="page"><svg>…</svg><span>Agenda</span></a>
<a href="#"><svg>…</svg><span>Clientes e fidelidade</span></a>
</nav>
</aside>
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
- Pinned sidebar, favorite menu itemsSidebar com itens fixados
- Reorderable sidebar, drag to sort menuSidebar com itens reordenáveis
- Accordion sidebar, nested menuSidebar com submenus em acordeão