Search

Search components and flows across the catalog

LumenConceptInteractive preview

Lumen: First run

A clickable first-run journey: choose a data source, copy the snippet, wait for the first event, then land on the analytics dashboard.

Category
Onboarding
Platform
Web
Steps
2

Interactive flowClick through it, resize it, or switch states. It’s real UI, not a screenshot.

Step by step

2 steps, start to finish

Every screen in this flow, in the order people see it.

  1. Lumen: Connect your first data source
    Step 1Lumen: Connect your first data source
  2. Lumen: Analytics overview
    Step 2 · FinishLumen: Analytics overview

Use this flow

Free to use. It works on its own in any React and Tailwind project, so you can add it with one command, paste the code, or hand the prompt to your coding agent.

FreeReact 18+Tailwind v3.4 or v4No extra packages

1. Add it with the shadcn CLI

npx shadcn@latest add https://www.thatdesignui.com/r/flows/lumen-first-run.json

2. Use it

Every prop is optional
app/page.tsx
import FlowLumenFirstRun from "@/components/flow-lumen-first-run";

export default function Page() {
  return <FlowLumenFirstRun />;
}

Prefer to paste it yourself? Open the .

Under the hood

How it’s built

What’s inside

  1. Plays the 'Empty state: connect data' screen, then the 'Analytics dashboard' screen, in that order; finishing setup ('Open dashboard') moves to the dashboard.
  2. A dark dock along the bottom edge (4.5rem tall; the screen above it fills the rest of the viewport, so nothing is ever covered) shows the steps (1 Connect data, 2 Your dashboard) with the current one highlighted, a Back arrow and a Restart button.

How it behaves

  • Completing the setup and pressing 'Open dashboard' shows the dashboard and highlights step 2.
  • Back returns to the setup screen; Restart returns to step 1 with a fresh setup.
  • The step dock stays visible and never covers a button or any content at 375px; the screen above it does not scroll just to make room.

Keep exploring

Lumen: Set up an alert

Lumen: Set up an alert

LumenConceptNotifications flow