StealThis .dev

Onboarding — Profile/setup completion nudge bar

A slim profile-completion nudge that keeps new users moving through setup by pairing a live progress bar with the single next best action. It announces how complete the profile is, suggests the next step like adding a photo or inviting a teammate, and advances the percentage as each step is finished. When everything is done the bar flips to a celebratory success state that can be cleared away. The demo ships three live variants — top banner versus sidebar card, avatar preview versus text-only, and dismissible versus persistent — switchable from a segmented control.

Open in Lab
html css vanilla-js
Targets: JS HTML

Code

Profile/setup completion nudge bar

A low-friction onboarding nudge that lives at the top of (or beside) the product. It states the completion percentage in plain language — Your profile is 60% complete — backs it with a gradient progress bar, and surfaces the one suggested next action rather than a wall of tasks. A primary button completes that step, the percentage and step counter advance with a smooth fill animation, and the next suggestion rolls forward automatically.

The same component is shown in three live variants, toggled from a segmented switcher. Layout swaps between a full-width top banner and a sticky sidebar card (which adds an inline checklist of all five steps with done / next states). Media turns the avatar preview on or off for a leaner text-only treatment. Behavior flips between dismissible — a close button plus Esc to collapse the bar — and persistent, where the nudge stays put until setup is finished.

Once all steps are complete the nudge transitions into a success state with a pop-in checkmark and a confirming message; in the dismissible variants it can then be cleared. A toast confirms each action, a reset control returns the demo to 60%, and the whole thing reflows to a single column down to 360px.

Illustrative UI only — fictional users, steps, and data.