Search

Search components and flows across the catalog

TempoConceptInteractive preview

Tempo: Start a focus session

A phone screen for setting up a focus session: habit chips, a draggable circular duration dial with presets, silence and sound switches with a live ambience preview, and a big Start button.

Category
Productivity
Platform
iOS

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

2. Use it

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

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

Prefer to paste it yourself? Open the .

Under the hood

How it’s built

What’s inside

  1. The Tempo phone frame (390px wide, 44px corners and a 10px navy #1f2340 bezel from 640px up, full bleed on a phone) on warm cream #fff7ee with navy text and coral #ff6b4a accents. A top row with a round Back button, 'New focus session' and a white flame streak chip.
  2. A heavy 28px question, then a horizontally scrolling radio row of four 44px pill chips (Deep work, Reading, Study, Journaling, each with an emoji in a tinted circle; the selected chip turns navy) and a one-line note for the chosen habit.
  3. A 212px circular dial: an 18px cream track with an amber-to-coral arc, a white inner face with 18 tick marks (ticks inside the chosen range turn coral) and a white knob with a coral ring. The centre shows the minutes in 54px heavy numerals that pop on change. It is a role=slider from 5 to 90 minutes in 5-minute steps: drag the knob, tap the ring, or use arrow keys, Page Up/Down and Home/End.
  4. Four 40px preset pills (15, 25, 45, 60 min) as a radio group; the active one is coral-tinted with a coral ring.
  5. A white rounded 22px card with two full-row iOS-style switches (51x31, coral when on): 'Silence notifications' (moon tile) and 'Play focus sounds' (headphones tile). When sounds are on, a section expands with four sound tiles (Rain, Café, Forest, Waves) and a 58px gradient preview strip in that sound's colours with a speaker icon and 22 animated equaliser bars.
  6. A full-width 60px coral gradient 'Start focus · 25 min' button with a play icon, sticky at the bottom on phones. onContinue receives { task, minutes, sounds, soundscape, silence }; standalone it shows a summary with 'Change it'.

How it behaves

  • Dragging the dial knob or pressing the arrow keys on it changes the minutes in steps of 5 between 5 and 90, and the Start button label updates to match.
  • Choosing a preset moves the dial arc and knob to that value and marks the preset as selected.
  • Turning 'Play focus sounds' off collapses the sound tiles and preview; picking Forest recolours the preview strip and its label.
  • Each chip, preset, sound tile and switch is reachable by keyboard with a visible coral focus ring, and the switches report aria-checked.
  • With reduced motion the equaliser bars and number pop do not animate; nothing scrolls sideways at 375px and the Start button is never hidden behind the flow dock.

More from Tempo

Tempo: Focus session

Tempo: Focus session

TempoConceptProductivity screen

Tempo: Pick your goals

Tempo: Pick your goals

TempoConceptOnboarding screen

Tempo: Today

Tempo: Today

TempoConceptDashboard screen

Tempo: Pick a reminder time

Tempo: Pick a reminder time

TempoConceptOnboarding screen