Skip to content

Ring Stack

Concentric ring bars on a semicircle, a 270° horseshoe or a full circle: one ring per group, its parts stacked end to end along the arc over a faint track that stands for what is left, with percent ticks along the outside.

$149 once · every Pro piece

Customize

The rings sweep on in turn. Point at a ring and the others step back while the centre switches to it with rolling digits; point at a part and that part lights in every ring. A ring past its limit runs hot at its leading edge, the one ember on the dial. The progress-row legend rolls to the hovered ring’s values, isolates parts both ways, and click hides a part while the rest close up on springs.

Install

npx shadcn@latest add @obsyde/ring-stack

Needs your licence key · Get Pro

Usage

Import it from where the CLI puts it, or copy the files below by hand.

import { RingStack } from '@/components/obsyde/ember/ring-stack/RingStack';

export function Example() {
  return (
    <RingStack arc="semicircle" pattern="parts" legend="row" />
  );
}

Files

What you get with Pro: plain React, TypeScript and CSS, with no dependencies.

  • ember/ring-stack/RingStack.tsxcomponent
  • ember/ring-stack/ring-stack.cssstyles
  • ember/ring-stack/RingStackDemo.tsxdemo
  • ember/viz-kit/viz-kit.cssshared
  • ember/viz-kit/state-messages.tsxshared
  • 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/radial.tsxshared
  • ember/viz-kit/radial.cssshared
  • ember/shared/ember.cssshared
  • ember/viz-kit/touch.tsshared
  • ember/viz-kit/motion.tsshared
  • ember/viz-kit/focus.tsshared
  • ember/viz-kit/keyboard.tsshared
  • ember/viz-kit/patterns.tsxshared
  • ember/viz-kit/Legend.tsxshared
  • ember/viz-kit/demo.tsxshared
  • ember/viz-kit/demo.cssshared

API

PropTypeDefault
accentAccent'ember' | 'volt' | 'arc''ember'
arcArc'semicircle' | 'horseshoe' | 'full''semicircle'
endsEnds'square' | 'round''square'
ringsRingsnumber3
fillFillnumber1
limitLimit %number90
legendLegend'progress' | 'row' | 'none''progress'
patternPattern'none' | 'diagonal-up' | 'diagonal-down' | 'dots' | 'vertical' | 'crosshatch' | 'parts''none'
statusStatus'ready' | 'loading' | 'empty''ready'
sizeSizenumber460
seedSeednumber2