Radial Clock
A day wrapped round a dial. Each time bin is a column of dots on concentric rows that glow brighter toward the rim, stacked by series, inside an instrument tick ring that hugs the hole.
$149 once · every Pro piece
Bins after now are yesterday’s ghost, smaller and faint, or a hatched forecast. The current bin burns in the accent and the bins behind it cool back to grey, the busy ones more slowly. Point at a bin, or Tab in and step with the arrow keys: a spoke springs round to it, the other bins step back and the centre rewrites itself as a sentence with rolling digits, against yesterday. The legend isolates a series across every layer and clicking it restacks the dots. Also as five rows of big patterned dots, or as stacked radial bars.
Install
npx shadcn@latest add @obsyde/radial-clockNeeds your licence key · Get Pro
Usage
Import it from where the CLI puts it, or copy the files below by hand.
import { RadialClock } from '@/components/obsyde/ember/radial-clock/RadialClock';
export function Example() {
return (
<RadialClock variant="dots" />
);
}
Files
What you get with Pro: plain React, TypeScript and CSS, with no dependencies.
ember/radial-clock/RadialClock.tsxcomponentember/radial-clock/radial-clock.cssstylesember/radial-clock/RadialClockDemo.tsxdemoember/viz-kit/viz-kit.csssharedember/viz-kit/state-messages.tsxsharedember/viz-kit/size.tssharedember/viz-kit/shape.tssharedember/viz-kit/scale.tssharedember/viz-kit/roll.tssharedember/shared/rolling-number.csssharedember/shared/spring.tssharedember/shared/accent.tssharedember/viz-kit/radial.tsxsharedember/viz-kit/radial.csssharedember/shared/ember.csssharedember/viz-kit/touch.tssharedember/viz-kit/motion.tssharedember/viz-kit/focus.tssharedember/viz-kit/keyboard.tssharedember/viz-kit/patterns.tsxsharedember/viz-kit/Legend.tsxsharedember/viz-kit/Grid.tsxsharedember/viz-kit/chart.tsxsharedember/viz-kit/demo.tsxsharedember/viz-kit/demo.csssharedember/viz-kit/Axis.tsxshared
API
| Prop | Type | Default |
|---|---|---|
accentAccent | 'ember' | 'volt' | 'arc' | 'ember' |
variantVariant | 'dots' | 'patterned' | 'bars' | 'dots' |
datasetData | 'activity' | 'hourly' | 'energy' | 'activity' |
binsBins | '24' | '48' | '96' | '96' |
nowNow (hour) | number | 17.25 |
heatFurnace heat | boolean | true |
annotationsNotes | boolean | true |
legendLegend | 'row' | 'none' | 'row' |
crosshairCrosshair | 'solid' | 'dashed' | 'gradient' | 'none' | 'solid' |
patternPattern | 'none' | 'diagonal-up' | 'diagonal-down' | 'dots' | 'vertical' | 'crosshatch' | 'none' |
statusStatus | 'ready' | 'loading' | 'empty' | 'ready' |
sizeSize | number | 440 |
seedSeed | number | 1 |