Time Tracker
CRM · TimeTracker, Panel
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; passnowfor 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
| Prop | Type | Notes |
|---|---|---|
running? | boolean | |
startedAt? | Date | string | number | |
now? | Date | string | number | Fixed "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? | string | Extra class on the root element. |
style? | CSSProperties | Inline style on the root element. |
Panel
| Prop | Type | Notes |
|---|---|---|
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? | string | Extra class on the root element. |
style? | CSSProperties | Inline style on the root element. |