Skip to content

Radial Bars

Two to five concentric arcs on faint tracks, read clockwise.

$149 once · every Pro piece

Customize

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-bars

Needs 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.tsxcomponent
  • ember/radial-bars/radial-bars.cssstyles
  • ember/radial-bars/RadialBarsDemo.tsxdemo
  • ember/viz-kit/viz-kit.cssshared
  • ember/viz-kit/size.tsshared
  • ember/viz-kit/shape.tsshared
  • ember/viz-kit/scale.tsshared
  • ember/viz-kit/roll.tsshared
  • ember/shared/rolling-number.cssshared
  • ember/shared/spring.tsshared
  • ember/shared/accent.tsshared
  • ember/viz-kit/patterns.tsxshared
  • ember/viz-kit/motion.tsshared
  • ember/viz-kit/Legend.tsxshared
  • ember/viz-kit/focus.tsshared
  • ember/shared/ember.cssshared
  • ember/viz-kit/touch.tsshared

API

PropTypeDefault
accentAccent'ember' | 'volt' | 'arc''ember'
ringsRingsnumber3
spanSweep'full' | 'three-quarter' | 'half''full'
scaleTick ringbooleanfalse
scrubberScrubberbooleanfalse
ghostGhost targetsbooleanfalse
capsCaps'butt' | 'round''butt'
maxFull turnnumber100
unitUnitstring'%'
sizeSizenumber260
legendLegend'progress' | 'list' | 'row' | 'none''progress'
patternPattern'none' | 'per-ring''none'
statusStatus'ready' | 'loading' | 'empty''ready'
seedSeednumber2