FlowPro
Onboarding
shadcn add @detent-pro/onboarding
Detent
Wire it up
All optional. With none, it plays exactly as it does here and hands over to whoever touches it.
Usage
<Onboarding
tools={tools}
teammates={teammates}
product={product}
onConnect={(tool) => {}}
onInvite={(emails) => {}}
onComplete={(setup, tools, invited, agent) => {}}
/>Your data
PropDescriptionDefault
toolsThe tools on offer, each with the account it connects to.
Tool[]Default—
teammatesPeople suggested for an invite, e.g. from the GitHub organization.
Teammate[]Default—
productThe product being set up.
stringDefault
'Detent'assistantWhat the first agent is called.
stringDefault
'Detent'workspaceThe workspace being set up, named in the preview.
stringDefault
'Harbor'What it tells you
PropDescriptionDefault
onConnectCalled with a tool’s id when a person connects it.
(tool: App) => voidDefault—
onInviteCalled with the addresses a person invites.
(emails: string[]) => voidDefault—
onCompleteCalled when setup finishes, with what was connected, who was invited and the agent created.
(setup: { tools: App[]; invited: string[]; agent: string }) => voidDefault—
Every block also takes accent, the one colour everything in it derives from; autoplay, which plays the demo until someone touches it; and className.