Holiday sale: 40% off Pro with code · limited offer · ends Dec 31
See ProA timer and stopwatch screen built around one big canvas ring: in timer mode a glowing conic gradient drains smoothly counterclockwise with a bright head, you can drag around the ring to dial a duration, pick presets or replay recent timers, and when it reaches zero the ring pulses, ripples spread outward and the dial buzzes until you stop or repeat. Stopwatch mode turns the ring into a sweeping lap dial with centisecond digits and a lap list that springs in with best and worst splits colored. Glass start and pause buttons morph their icon on springs, the mode switch slides a glass lens, everything works by keyboard (the ring is a slider), the canvas pauses offscreen and reduced motion keeps a still, readable frame.
Included in Pro and aboveCompare plans
Live preview. Move the mouse, scroll and click inside the frame.
The copied code, markdown and prompt include the values you set here.
import { TimerStopwatchRings } from "@/components/hyperblur-pro/timer-stopwatch-rings"
<TimerStopwatchRings />
<TimerStopwatchRings duration={1500} autoStart={false} onComplete={() => notify("Done")} />| Prop | Type | Default | Description |
|---|---|---|---|
| mode | "timer" | "stopwatch" | undefined | Controlled mode. Leave undefined to use the built-in switch. |
| defaultMode | "timer" | "stopwatch" | "timer" | Starting mode when uncontrolled. |
| duration | number | 300 | Starting timer length in seconds. |
| presets | number[] | [60, 180, 300, 600, 900, 1500] | Preset durations in seconds shown as chips. |
| colors | [string, string, string] | ["#ff9f0a", "#ff375f", "#bf5af2"] | Gradient stops of the ring, buttons and glow. |
| appearance | "light" | "dark" | "auto" | "dark" | Glass tint and text color. |
| backdrop | string | Unsplash night mountains | Background photo. |
| autoStart | boolean | true | Start the demo timer running on mount. |
| maxDpr | number | 2 | Device pixel ratio cap for the ring canvas. |
| onComplete / onLap / onModeChange | callbacks | undefined | Called when the timer ends, a lap is recorded or the mode changes. |
Source code is included in Pro and above