Skip to content
Twentyfirst UIPro

Time Tracker

CRM · TimeTracker, Panel

View as Markdown

A start/stop timer for what you are working on, with project and billable, and today's entries with their total.

  • The clock ticks every second while running; pass now for a fixed render.
  • Each control appears only when its handler is passed (onTask, onProject, onBillable).

Time

42:17
  • Stand-up and planningNordhafen · Website relaunchBillable0:30
  • Onboarding screensVelo Werk · App redesignBillable1:35
  • Hiring: portfolio reviewsInternal0:45

Today 3:32

Props

TimeTracker

PropTypeNotes
running?boolean
startedAt?Date | string | number
now?Date | string | numberFixed "now" for the timer; ticks every second when unset.
task?string
onTask?(task: string) => void
project?string
projects?string[]
onProject?(project: string) => void
billable?boolean
onBillable?(billable: boolean) => void
onStart?() => void
onStop?() => void
entries?TimeEntry[]Today's entries under the timer, with their total.
className?stringExtra class on the root element.
style?CSSPropertiesInline style on the root element.

Panel

PropTypeNotes
side?boolean
title?string
subtitle?string
action?ReactNode
children?ReactNode
surface?Surface`"glass"`: translucent glass over what is behind (maps, 3D, video, photos); `"solid"` opts out inside a glass `UIProvider`.
className?stringExtra class on the root element.
style?CSSPropertiesInline style on the root element.