Skip to content
IndexRequest a UIAboutContact

Coachmark Onboarding Tour

A three-step product tour: a dimmed screen with a spotlight on one control, a short tip, Next, Back and Skip.

Open alone ↗

AI prompt

PROMPT: PASTE INTO YOUR AI CODING TOOL
Clean UI mockup of a dashboard with a dim dark overlay and a bright rounded spotlight cutout around the Search field in the header, a white tip card with a small arrow below it reading Find anything instantly, three progress dots with the first one filled, a Skip text button and a primary Next button, the rest of the interface dimmed and slightly visible, light theme, flat modern style. Negative: heavy shadows, clutter, text errors, device frames. Reduced motion: static design.

About this pattern

Definition

A coachmark tour introduces a new interface by highlighting one control at a time. The rest of the screen is dimmed so the target stands out, and a small card beside it explains what it does. Done well it is short, skippable and easy to restart.

Purpose & UX principles

  • Keep it to three to five steps; each step names one control and one benefit.
  • Cut a hole in the dim layer with a large box-shadow around the target rectangle.
  • Place the tip card beside the target and flip it if it would leave the screen.
  • Move focus into the tip, support Escape to close, and return focus to the page afterwards.

Interaction states

  • Start tour, then use Next, Back, Skip or Escape.

Motion specification

  • The spotlight slides between targets in 250ms.
  • Reduced motion: it jumps.

Responsive behaviour

  • Always offer Skip and a way to reopen the tour later.
  • Do not auto-start tours on every visit; show them once.

Code

HTML
<div class="bx"><div class="app" id="app"><header><b>Acme</b><span class="t" id="t1">Search</span><button class="t" id="t2" type="button">New</button><i class="t av" id="t3"></i></header><main><i></i><i></i><i></i></main><div class="ov" id="ov" hidden><div class="sp" id="sp"></div><div class="tp" id="tp" role="dialog" aria-label="Product tour" tabindex="-1"><b id="tt"></b><p id="tx"></p><div class="ft"><button class="sk" id="sk" type="button">Skip</button><span class="dt" id="dt"></span><button class="mini" id="bk" type="button">Back</button><button class="mini pri" id="nx" type="button">Next</button></div></div></div></div><button class="mini" id="st" type="button">Start tour</button></div>

Related patterns

Modal Dialog

↗
Modal DialogOverlays & Dialogs

Spotlight Zoom Focus

↗
Spotlight Zoom FocusExplainers & Series

Anchored Popover

↗
Anchored PopoverOverlays & Dialogs