Skip to content

Crucible

One vessel per day, each filled to its value with molten metal.

$149 once · every Pro piece

Customize

The selected day is hot: its melt runs from deep red up through the accent to a bright surface and glows, while the other days hold cooled ash. A dashed level line runs from the selected surface across the row to a value pill in the accent, and the header rolls to the day’s value and its change on the day before. Scrub across the days with a pointer, a finger or the arrow keys and the heat moves with you; every change sets the melt’s surface wobbling, a meniscus that settles in about a second. Levels rise on a spring cascade.

Install

npx shadcn@latest add @obsyde/crucible

Needs your licence key · Get Pro

Usage

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

import { Crucible } from '@/components/obsyde/ember/crucible/Crucible';

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

Files

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

  • ember/crucible/Crucible.tsxcomponent
  • ember/crucible/crucible.cssstyles
  • ember/crucible/CrucibleDemo.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/demo.tsxshared
  • ember/viz-kit/demo.cssshared

API

PropTypeDefault
accentAccent'ember' | 'volt' | 'arc''ember'
pointsDaysnumber7
referenceLevel linebooleantrue
valueLabelsValue labelsbooleanfalse
patternPattern'none' | 'diagonal-up' | 'diagonal-down' | 'dots' | 'vertical' | 'crosshatch''none'
liveLivebooleanfalse
heightHeightnumber220
statusStatus'ready' | 'loading' | 'empty''ready'
seedSeednumber6