vibran

Onboarding stepper modal

Also called: multi-step dialog

A welcome window split into steps. The progress bar fills in segments, each step slides sideways and its items rise in sequence. The window keeps the same height across steps, so nothing jumps.

Preview of Onboarding stepper modal running live
Copy the promptAdjust colors and speed

When to use it

On first access to an app, in short multi-step sign-ups and in what's-new notices. Each step should fit a phone screen without scrolling. Use 3 to 5 steps; more becomes tiring. Button labels come from data-fim and data-pular, and the efeito:concluido event tells your code when the last step is done.

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:

<button data-efeito="modal-passos" data-abrir="#inicio" data-fim="Começar a vender">Primeiros passos</button>
<div id="inicio" hidden aria-label="Primeiros passos">
  <section data-passo><h3>Bem-vindo</h3><p>...</p></section>
  <section data-passo><h3>Cadastre os produtos</h3><p>...</p></section>
</div>

More modals effects

All 15 modals effects →