Search

Search components and flows across the catalog

TempoConceptInteractive preview

Tempo: Focus session

A clickable two-step mobile flow: set up a focus session, then run the full-screen timer through to a celebration.

Category
Productivity
Platform
iOS
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. Tempo: Start a focus session
    Step 1Tempo: Start a focus session
  2. Tempo: Focus session
    Step 2 · FinishTempo: Focus session

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/tempo-focus-from-setup-to-finish.json

2. Use it

Every prop is optional
app/page.tsx
import FlowTempoFocus from "@/components/flow-tempo-focus";

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

Prefer to paste it yourself? Open the .

Under the hood

How it’s built

What’s inside

  1. Plays the focus setup screen and the focus session screen in order inside the Tempo phone frame. The task, minutes, sound and silence choices from setup drive the timer screen (its task name, total, sound pill and notification pill).
  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 'Set up' and 'Focus' with the current step highlighted and a coral step dot, a Back arrow and a Restart button.
  3. After a session, Done returns to setup with the previous choices kept (and the streak chip one higher once a session is completed); Another round runs the same session again as round 2 without counting the streak twice.

How it behaves

  • Choosing Reading, 15 minutes and Forest, then Start focus, shows a 15:00 Reading timer with a Forest sound pill.
  • Back from the timer returns to setup with Reading, 15 minutes and Forest still selected; Restart clears them back to Deep work and 25 minutes.
  • Finishing a session and pressing Another round starts a fresh timer labelled Round 2.
  • The step dock never covers the Start focus button or the timer controls at 375px.

Keep exploring

Tempo: Onboarding to home

Tempo: Onboarding to home

TempoConceptOnboarding flow