Skip to content

Unit Columns

Columns counted out in rounded squares, one per unit, over a faded hatched track that shows how far the scale goes.

$149 once · every Pro piece

Customize

A part-unit on top is drawn as a smaller square, so nothing is rounded away. Filled squares share one vertical gradient across the plot, bone at the top, and the latest (or largest) column carries the accent. On entry the squares cascade up column by column with mass by value: tall columns arrive later and settle heavier while the track gives way square by square. Point at a column and a thin ring hugs its top square on a spring while the other columns step back; with several series, pointing at one series isolates it.

Install

npx shadcn@latest add @obsyde/unit-columns

Needs your licence key · Get Pro

Usage

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

import { UnitColumns } from '@/components/obsyde/ember/unit-columns/UnitColumns';

export function Example() {
  return (
    <UnitColumns />
  );
}

Files

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

  • ember/unit-columns/UnitColumns.tsxcomponent
  • ember/unit-columns/unit-columns.cssstyles
  • ember/unit-columns/UnitColumnsDemo.tsxdemo
  • ember/viz-kit/viz-kit.cssshared
  • ember/viz-kit/Tooltip.tsxshared
  • ember/viz-kit/focus.tsshared
  • ember/viz-kit/patterns.tsxshared
  • ember/viz-kit/roll.tsshared
  • ember/shared/rolling-number.cssshared
  • ember/shared/spring.tsshared
  • ember/shared/accent.tsshared
  • ember/viz-kit/scale.tsshared
  • ember/viz-kit/motion.tsshared
  • ember/viz-kit/chart.tsxshared
  • ember/shared/ember.cssshared
  • ember/viz-kit/touch.tsshared
  • ember/viz-kit/keyboard.tsshared
  • ember/viz-kit/size.tsshared
  • ember/viz-kit/States.tsxshared
  • ember/viz-kit/shape.tsshared
  • ember/viz-kit/marks.tsxshared
  • ember/viz-kit/Legend.tsxshared
  • ember/viz-kit/Grid.tsxshared
  • ember/viz-kit/demo.tsxshared
  • ember/viz-kit/demo.cssshared
  • ember/viz-kit/Axis.tsxshared

API

PropTypeDefault
accentAccent'ember' | 'volt' | 'arc''ember'
shapeShape'rounded' | 'squircle' | 'square' | 'dot''rounded'
seriesSeriesnumber1
columnsColumnsnumber6
highlightHighlight'last' | 'max' | 'none''last'
patternPattern'diagonal-up' | 'diagonal-down' | 'dots' | 'vertical' | 'crosshatch' | 'none' | 'off''diagonal-up'
tooltipTooltip'panel' | 'none''panel'
backgroundBackground'none' | 'grid' | 'dots''none'
statusStatus'ready' | 'loading' | 'empty''ready'
valueLabelsValue labelsbooleanfalse
heightHeightnumber260
seedSeednumber2