Modus UI

Vitals Board

Web (React)

An isometric ink-line readout in your theme colours, with floating node cubes, layered planes or a flowing mesh.

A square canvas drawn in isometric projection on the page paper: a cluster of floating wireframe cubes, five stacked scan planes, or a breathing height-field mesh. Strong lines take the theme primary and faint ones the foreground, so it follows light, dark and every palette. It pauses when off screen and draws a still frame when the user prefers reduced motion.

Modus / Vitals Board

Installation

CLI

npx @modus-ui/cli add vitals-board

Manual

  1. Copy the code from the component tab.
  2. Create a file at components/ui/vitals-board.tsx.
  3. Paste the code.

Usage

tsx
import { VitalsBoard } from "@/components/ui/vitals-board";

export default function Example() {
  return (
    <div className="flex min-h-[400px] items-center justify-center">
      <VitalsBoard variant="flow" />
    </div>
  );
}

Props

PropTypeDefaultDescription
variant"layers" | "nodes" | "flow""nodes"Which diagnostic figure to draw.
speednumber1Animation speed multiplier (0 to 3).
sizenumber1Scale of the panel.
opacitynumber1Opacity of the panel.
huenumber0Hue rotation in degrees.
saturationnumber1Saturation multiplier.
brightnessnumber1Brightness multiplier.
colorstringnoneHex stroke override; defaults to the theme primary and foreground.
backgroundColorstringnoneFill used to occlude hidden lines; defaults to the theme background.

Comments

  • No comments yet.