Radial Bars
Two to five concentric arcs on faint tracks, read clockwise.
$149 once · every Pro piece
Each arc sweeps on its own spring and its head runs hot while it moves, cooling to grey as it settles. Point at a ring, its legend row or use the arrow keys to light it in the accent while the others step back; the centre rolls to it on per-digit mass and reads it as a sentence. Options: a linked progress, list or row legend (hover isolates both ways, click hides a ring, hold locks it); an instrument tick ring with quarter labels; a scrubber hand that springs to the pointer's angle while rings short of it step back, so it reads as a threshold (“2 of 3 past 60%”); hatched ghost arcs running on to each ring's target; full, three-quarter or half sweeps with the ring names in the open quadrant; round caps; a hatch per ring; loading and empty states.
Install
npx shadcn@latest add @obsyde/radial-barsNeeds your licence key · Get Pro
Usage
Import it from where the CLI puts it, or copy the files below by hand.
import { RadialBars } from '@/components/obsyde/ember/radial-bars/RadialBars';
export function Example() {
return (
<RadialBars rings={3} />
);
}
Files
What you get with Pro: plain React, TypeScript and CSS, with no dependencies.
ember/radial-bars/RadialBars.tsxcomponentember/radial-bars/radial-bars.cssstylesember/radial-bars/RadialBarsDemo.tsxdemoember/viz-kit/viz-kit.csssharedember/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/patterns.tsxsharedember/viz-kit/motion.tssharedember/viz-kit/Legend.tsxsharedember/viz-kit/focus.tssharedember/shared/ember.csssharedember/viz-kit/touch.tsshared
API
| Prop | Type | Default |
|---|---|---|
accentAccent | 'ember' | 'volt' | 'arc' | 'ember' |
ringsRings | number | 3 |
spanSweep | 'full' | 'three-quarter' | 'half' | 'full' |
scaleTick ring | boolean | false |
scrubberScrubber | boolean | false |
ghostGhost targets | boolean | false |
capsCaps | 'butt' | 'round' | 'butt' |
maxFull turn | number | 100 |
unitUnit | string | '%' |
sizeSize | number | 260 |
legendLegend | 'progress' | 'list' | 'row' | 'none' | 'progress' |
patternPattern | 'none' | 'per-ring' | 'none' |
statusStatus | 'ready' | 'loading' | 'empty' | 'ready' |
seedSeed | number | 2 |