App UI kits › Daybreak › Focus

Focus

What 45 minutes looks like: a grid fills one tile per minute, and the finished session lands on your focus wall.

Focus is a screen from Daybreak, an app ui kit with 11 screens: A planner app where your day is drawn as the real sky. Price: $2 for the whole pack.

Built with: minute grid, play to pause morph, session flight.

Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.

Focus props

PropTypeDefaultDescription
darkboolean
taskstring
catDayCat
minutesnumber45Session length in minutes. Default 45.
wallDaybreakFocusSession[]Past sessions this week (day 0 = Monday).
speednumber1Seconds of focus per real second (demo speed-up). Default 1.
autoplayboolean
onFinish(minutes: number) => void

Methods on the ref

Use it in React

import DaybreakFocus from './DaybreakFocus';

<DaybreakFocus />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Daybreak

Good for: Planner and to-do app.