Skip to main content

Onboarding

Guide users through multi-step flows.

View as Markdown

Installation

Component API

PropTypeDefaultDescription
triggerReactNode-The trigger button's label.
The trigger button's label.
triggerIconReactNode-A glyph beside the trigger's label.
A glyph beside the trigger's label.
iconPositionleading | trailingleadingWhich end of the trigger its triggerIcon sits at.
Which end of the trigger its triggerIcon sits at.
stepsOnboardingStep[]-
onFinish(picked: string[]) => void-Called on the last step's Done with the id of every picked choice.
Called on the last step's Done with the id of every picked choice.
finishLabelstringDoneThe last step's button.
The last step's button.
closeOnEscapebooleantrue
shapenone | rounded | pillrounded
animatedbooleantrue
classNamestring-
focusboolean | stringtrue
containerHTMLElement | null-