TempoConceptInteractive preview
Tempo: Focus session
A full-screen phone focus timer with an emptying ring, pause and resume, an end-early confirm sheet, and a celebration with the streak, minutes focused and a weekly chart.
- Category
- Productivity
- Platform
- iOS
Interactive screenClick through it, resize it, or switch states. It’s real UI, not a screenshot.Running state
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-session.json2. Use it
Every prop is optionalapp/page.tsx
import TempoFocusSession from "@/components/tempo-focus-session";
export default function Page() {
return <TempoFocusSession />;
}Prefer to paste it yourself? Open the .
Under the hood
How it’s built
What’s inside
- The Tempo phone frame. While the timer runs the screen is deep navy (a radial #343a6b to #1f2340 to #171a31 gradient) with cream #fff7ee text; top pills show 'Notifications silenced' (or on) and the round with four dots.
- A task emoji tile, the task name in 24px heavy type and a short encouraging line, then a 272px ring: 60 tick marks, a faint track and a 12px amber-to-coral arc that empties clockwise as time passes, with a glowing cream knob at the moving edge and a soft coral glow behind that slowly breathes.
- The centre shows 'Remaining', the time as mm:ss in 66px heavy tabular numerals (it blinks gently while paused) and 'of 25 min'. The clock runs fast (one minute per real second) so it visibly moves.
- A sound pill (emoji, name, 'playing softly', nine equaliser bars that freeze when paused), then three controls: 'End early' (56px round), an 84px coral Pause/Resume button, and 'Add 5 min' (56px round).
- 'End early' opens a cream bottom sheet sliding up over a dark scrim: flag tile, 'End this session early?', minutes focused with a small progress bar, a coral 'Keep going' and a red 'End session'. The timer holds while it is open; Escape or the scrim closes it.
- On completion the screen turns cream: a coral flame medal pops in with a '+1' badge and a confetti burst, 'Focus complete!', three stat tiles (Streak with +1, Focused minutes, Today total), a 'This week' bar chart whose coral today bar grows in, a coral 'Done' (onDone) and an outlined 'Another round' (onRestart). Ending early shows a navy flag medal, 'Session ended', the minutes focused and 'Try again'.
How it behaves
- With no props it starts at 25:00 for 'Deep work', the numbers count down about one minute per second and the ring empties clockwise.
- Pause freezes the time and the equaliser and shows 'Paused'; Resume continues from the same time; 'Add 5 min' raises the total to 30.
- 'End early' opens the sheet with focus on 'Keep going'; Escape returns to the running timer, while 'End session' shows the 'Session ended' summary with the minutes focused and no streak increase.
- When the time runs out the celebration shows the streak as 13 with a +1, 25 minutes focused and the week chart; 'Another round' starts a new countdown as round 2.
- With reduced motion there is no glow breathing, blinking, confetti, sheet slide or bar growth, but the timer still counts down; nothing scrolls sideways at 375px.



