Search

Search components and flows across the catalog

LumenConceptInteractive preview

Lumen: Connect your first data source

An empty dashboard turned into guided setup: choose a data source, copy the install snippet, listen for the first event and confirm it with the event itself.

Category
Onboarding
Platform
Web
State
Empty
  • Minimal
  • Empty state
  • Progress

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

Use this screen

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/screens/lumen-connect-data-source.json

2. Use it

Every prop is optional
app/page.tsx
import LumenConnectData from "@/components/lumen-connect-data";

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

Prefer to paste it yourself? Open the .

Under the hood

How it’s built

What’s inside

  1. The same app shell as the analytics dashboard, with a white setup card (max 860px, 24px radius) centred in the empty main area.
  2. A three-part progress row (Choose source, Add it, First event) with numbered circles that fill and tick as you go.
  3. Step 1: four source cards (JavaScript snippet recommended, Segment, Postgres, Stripe) as a radio group, then 'Continue with …' and a 'Use sample data' shortcut.
  4. Step 2: a dark code panel with the install snippet and a Copy button that confirms 'Copied'; Back and 'I've added it'.
  5. Step 3: a pulsing radar and 'Listening for your first event'; it advances by itself after about four seconds or immediately via 'Send a test event'.
  6. Step 4: a green tick, 'First event received', a small event card (page_view, /pricing, Berlin) and an 'Open dashboard' button.

How it behaves

  • Arrow keys move between the four source cards; the chosen one has the highlight ring.
  • Copy puts the snippet on the clipboard and the button says Copied (or 'Select and copy' if the clipboard is blocked).
  • The listening step advances by itself, and 'Send a test event' skips the wait.
  • Reduced motion stops the radar pulse.
  • At 375px the source cards stack in one column with no horizontal scroll.

More from Lumen

Lumen: Alerts

Lumen: Alerts

LumenConceptNotifications screen

Lumen: Create an alert

Lumen: Create an alert

LumenConceptNotifications screen

Lumen: Analytics overview

Lumen: Analytics overview

LumenConceptDashboard screen