LumenConceptInteractive preview
Lumen: Set up an alert
A clickable two-step flow: build an alert by dragging a threshold on a live chart, then land on the alerts list with that alert highlighted at the top.
- Category
- Notifications
- 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.
Step 1Lumen: Create an alert
Step 2 · FinishLumen: Alerts
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-set-up-an-alert.json2. Use it
Every prop is optionalapp/page.tsx
import FlowLumenAlert from "@/components/flow-lumen-alert";
export default function Page() {
return <FlowLumenAlert />;
}Prefer to paste it yourself? Open the .
Under the hood
How it’s built
What’s inside
- Plays the alert builder and the alerts list in order. 'Create alert' carries the full rule (metric, condition, threshold, window, channels and name) to the list, where it appears first with a New badge, its own sparkline and a success toast.
- On the list, Edit on any row reopens the builder prefilled as 'Edit alert' with 'Save changes', and saving brings it back marked Updated; 'New alert' opens a fresh builder.
- A dark dock along the bottom edge (4.5rem tall; each screen fills the rest of the viewport so nothing is covered) shows 1 Create and 2 Alerts with the current one highlighted in Lumen lavender (#9b8cff), a Back arrow and a Restart button.
How it behaves
- Choosing Revenue, Rises above and Slack only, then Create alert, opens the list with a 'Revenue rises above …' alert at the top marked New and a toast saying it will notify Slack.
- Edit on 'Trial conversion guardrail' opens the builder titled 'Edit alert' with Conversion rate selected; Save changes returns it to the top of the list marked Updated.
- Back from the list returns to the builder with the previous choices kept; Restart returns to a fresh builder.
- The step dock never covers the Create alert button or any toast at 375px or 1440x900.
Keep exploring
