Spring drawer
Also called: physics side sheet
A side drawer that enters with spring physics: it overshoots slightly, then settles. You can grab and drag it sideways; release it with a flick or past the middle and it closes carrying the speed of your finger.

When to use it
For order tracking, notifications, a customer record or the cart. The spring gives the drawer weight, and drag-to-close feels natural on phones. If the site is sober, raise data-amortecimento (e.g. 30) to remove the bounce; data-lado="esquerda" suits a navigation 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:
<button data-efeito="gaveta-mola" data-abrir="#pedido" data-lado="direita">Acompanhar pedido</button>
<aside id="pedido" hidden>
<h3>Pedido #4821</h3>
...
<button data-fechar>Fechar</button>
</aside>
More modals effects
- Cookie consent bannerpreferences card
- Toast notificationAviso no canto da tela
- Stacked toast notificationssonner-style
- Hold to delete confirmation dialogConfirmar apagando segurando
- Depth modalglass dialog with background scale
- Bottom sheetdraggable drawer
- Image lightbox with zoom from thumbnailGaleria que amplia a partir da miniatura
- Drawerside sheet