High Command
LibraryTemplatesGet startedPricing
Get Pro · $79

Guide

Browse everythingGetting startedThemingYour data

Site

HomeTemplatesPricingChangelog

Templates 4

Command centerProFleetProCustomer trackingProField servicePro

Ops and shell 9

App shellProOps modelProAttention queueProMorning briefProShift handoverProLane panelProOwn-fleet partsProAgent action barProCustomizable dashboardPro

Map 17

PMTiles basemapPMTiles routeTrip hologramProBasemap styleMap geometryMapLand texture and dot lensProException heatmap and risk contoursProLane arcsProShipment layerOwn fleet layerProFleet map layersCurated place labels and sitesRoute traceEdge chipsProMap key, filters and paddingMap kitPro

Time and trips 11

Time and trip modelsEvent fieldProIn-transit rowsProImpact lineProActivity barProReplay clockTime controlPlayback overlayProTrip timetableProStage rowWeek cursorPro

Figures, charts and tables 14

Sourced valueKey-figure tileFigure groupPart barBand sparklineKPI stripProChart kitPop barWaterfall cascadeMargin chartsPro13-week cash ladderProWork tableProField railProHorizon gridPro

Zones and dispatch 10

Zones modelDispatch modelProGeofence layerGeofence eventsGeofence drawProService ringsDensity heatmapJob queueProAssign dialogProStop listPro

Design system 3

ThemeShared helpersUI primitives

Routing 3

Offline road routerAustin road graphAustin areas

Libraries 2

Fleet coreRoute core
High Command

Map, fleet and ops-console components for React. Built in-house, copied into your app with the shadcn CLI.

Product

  • Library
  • Templates
  • Pricing
  • Changelog

Build

  • Get started
  • Accessibility
  • Trip hologram

Templates

  • Command center
  • Fleet
  • Field service

New pieces by email. A short note when a release lands.

One email per release. Unsubscribe any time.

© 2026 High Command Pro licenseTermsPrivacyRefundsMap data © OpenStreetMap contributors · OpenFreeMap
Library/Figures, charts and tables

Sourced value

A number that is its records: SourcedValue buttons that flash and strike the figure they replace, plus one provider for what figures open (onSelect) and how links render (renderLink).

Free · MITComponent@highcommand/num1 file
See it in context
AR past due Late loads On time Margin

Click a figure: what it would open shows here.

Customize

Installation

$ npx shadcn@latest add @highcommand/num

Copies the source into your project and pulls in what it needs (3 other items). First time? Add the registry to components.json.

Props

<SV />

Every number on screen is one of these: a button that opens the source records (the page's `onSelect`, or this one's).

PropTypeDefault
vrequiredSourcedValue—

The value to show; its `label` names the button and is its `data-num`.

childrenReactNode—

Shown in place of the formatted value.

classNamestring—

Extra class on the button (or the plain text).

onSelect(v: SourcedValue) => void—

Opens this value's records; defaults to the page's `CommandActionsProvider` handler.

centsboolean—

Show cents on money (default: whole dollars, rounded half up).

compactboolean—

Compact money from $100,000 up ($1.23M, $450k).

tone'late' | 'on_track' | 'at_risk' | 'blocked' | 'dim'—

Colours the figure with a status token (`dim` is a quiet grey).

Also in this item 2

<CommandActionsProvider />3 propsSets the click and link behaviour for every figure under it (see `CommandActions`).
PropTypeDefault
childrenrequiredReactNode—

The part of the page the actions apply to.

onSelect(v: SourcedValue) => void—

Called with a SourcedValue when its figure is clicked: open its source records.

renderLink(props: AnchorHTMLAttributes<HTMLAnchorElement> & { href: string; 'data-testid'?: string }) => ReactNode—

Draws every link the figures, charts and tables print; receives the anchor's props (`href` always set).

<Anchor />1 propsA link through the page's `renderLink` (Next's Link, a router), else a plain anchor.
PropTypeDefault
data-testidstring—

`data-testid` for the anchor (passed through to `renderLink`).

Also takes the HTML attributes of its root element.

Helpers3 exported functions
  • useFlash(text: string): number

    Re-triggers a one-shot highlight whenever the displayed text changes after first paint (live refresh).

  • useStruck(text: string, ms?: number): { text: string; n: number; } | null

    Struck and replaced: when the displayed text changes after first paint, the old text, to be shown struck beside the new one for `ms` or until the next change (whichever comes first). `n` changes with every change, to restart the strike's one-shot draw.

  • useCommandActions(): CommandActions

    The page's `CommandActions` (empty when there is no provider).

Dependencies

npm
None beyond React
Builds on
ThemeUI primitivesShared helpers
Used by
Key-figure tilePart barChart kitPop bar
Pro pieces built on this
13-week cash ladder ProCommand center Pro

Install this free piece now; the Pro pieces drop in on top of it, in the same app. Pro is $79 once.

PreviousWeek cursorNext Key-figure tile

On this page

PreviewInstallationPropsDependencies