Product Tour
Steps on the left play one after another, each with its own animated screen in a dark window. A click or key press ends the tour and hands it to the visitor.
pixikit.com/docs/blocks/demos/product-tour
Customize
Step duration4500ms
Screen height260px
Auto play
Loop
Accent color
Props
11| Name | Type | Default | Description |
|---|---|---|---|
steps | (string | ProductTourStep)[] | ["Connect: Point it at your project.", "Review: See what needs you first.", "Ship: Roll it out and watch it land."] | The steps, a tab each. A string is "Label: description" and takes its screen from screens; an object carries its own screen (terminal, list, bars or your own content). |
screens | string[] | ["$ connect ./my-app; reading the project; found 3 services and 2 workers; ✓ ready", "checkout-service [Now]; image-worker [Soon]; search-api [Plan]; docs-site [Fine]", "checkout 100%; images 72%; search 46%; ✓ every check passing"] | One screen per string step, lines split by ";". Lines ending "NN%" draw bars, lines ending "[Badge]" a list with badges, anything else terminal lines ("$ " a command, "✓" a result). |
stepDuration | number | 4500 | How long each step stays while the tour plays, in ms; a step's own duration wins. |
screenHeight | number | 260 | The least height of the window's screen, in px. |
autoPlay | boolean | true | Play the steps one after another once the section is on screen. |
loop | boolean | true | Start again from the first step after the last one. |
windowTitle | string | "my-app" | The words in the window's title bar. |
accentColor | string | "#7c3aed" | The progress bar, the active tab and the bars. |
title | string | "See it work, step by step" | The heading above the tour. |
description | string | "Each step plays its own screen. Pick one to take over the tour." | The line under the heading. |
className | string | None |