Stacked toast notifications
Also called: sonner-style
Notifications stack like a deck of cards in the corner, each one a little smaller and further back. Hover over the pile and it fans open to show them all while the timers pause. You can dismiss one by swiping it sideways.

When to use it
In apps that receive several notifications in a row: order desk, support dashboard, delivery app. Instead of a pile that covers the screen, the stack takes the space of one toast and only opens when the person wants to read. For errors that need fixing, use data-tempo="0" so the toast stays until dismissed. Call Efeitos.empilhar(...) from your code when something happens.
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="avisos-empilhados" data-titulo="Pedido enviado" data-texto="A cozinha já recebeu" data-tipo="ok">Enviar</button>
<!-- ou pelo JS: Efeitos.empilhar("Link copiado", { titulo: "Pronto", tipo: "ok" }) -->
More modals effects
- Cookie consent bannerpreferences card
- Toast notificationAviso no canto da tela
- 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
- Spring drawerphysics side sheet
- Drawerside sheet