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/Ops and shell

App shell

The application frame: top bar (brand slot, tenant, page actions, clock and ⌘K search), icon rail of workspaces with travelling name tooltips, phone bottom bar with More, skip links, panel column; ThemeToggle and useTheme, ShellClock, the rail slot context, slow-loading state and pop-out windows (Document Picture-in-Picture).

Pro · included in the $79 licenseBlock@highcommand/app-shell5 files
Get Pro · $79
See it in context
Main content
Austin Distribution (demo)
Live19:00:00 CDTSep 30
Command: click a key figure to push a panel, or open the search.
Pro

Part of High Command Pro. The preview and props are open to everyone; installing it needs your license key. Set up your key · Pricing

Installation

$ npx shadcn@latest add @highcommand/app-shell

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

Props

<AppShell />

The application frame: a top bar (brand, tenant, the page's own actions, then time and search), the icon rail of workspaces with travelling name tooltips (a bottom bar with "More" on a phone), skip links, the main region and an optional right column for panels.

PropTypeDefault
onOpenSearchrequired() => void—

Opens your search or command palette (the bar's search button; bind ⌘K yourself, see `useModK`).

workspacesrequiredWorkspace[]—

The rail's workspaces, in order.

activerequiredstring—

The id of the workspace on screen.

onNavigaterequired(id: string) => void—

A rail item (or the brand) was chosen.

childrenrequiredReactNode—

The page: rendered in the main region.

tenantReactNode—

The organisation's name beside the brand (hidden on small screens).

brandReactNode—

Your logo or wordmark, top left: a button to the first workspace.

brandLabelstring"Home"

The brand button's accessible name.

searchLabelstring"Search accounts, orders, shipments"

The search button's placeholder text.

timeReactNode—

A clock and its controls (`ShellClock`, a replay pill): the shell's own, beside search on every workspace.

helpReactNode—

The shortcut sheet's button and the signed-in user's menu: the rail's foot; on a phone the account sits at the top bar's end.

accountReactNode—

The signed-in user's menu: in the rail's foot after `help`, and at the top bar's end on a phone.

pageActionsReactNode—

The current workspace's own controls (Edit layout): the same place in the top bar on every workspace.

panelsReactNode—

The right column (a PanelStack).

classNamestring—

Extra class names for the shell's root element.

onIntent(id: string) => void—

A person is about to open this workspace (pointer resting on its rail item, keyboard focus, a press): the app can fetch ahead.

skipLinks{ label: string; target: string }[]—

The first tab stops: links past the rail to a page's regions, by element id. Every workspace has at least "Main content".

Also in this item 5

<ThemeToggle />2 propsThe light/dark switch (in the rail's foot it gets the rail's name tooltip).
PropTypeDefault
themerequiredTheme—

The theme now in effect; the button offers the other one.

onTogglerequired() => void—

Fires when the button is pressed.

<TimeSearch />3 propsThe top bar's time and search, one group so the clock and search keep their place whatever the page: the clock (any node, often a `ShellClock`) hidden on small screens, then the search button with its ⌘K hint.
PropTypeDefault
onOpenSearchrequired() => void—

Fires when the search button is pressed.

timeReactNode—

The clock node (often a `ShellClock`); hidden on small screens.

labelstring"Search accounts, orders, shipments"

The search button's visible text (default: a hint to search accounts, orders and shipments).

<ShellClock />6 propsThe top bar's clock, the shell's `time` slot: a state word (Live, Paused, Replay), the time in the mono face with its zone, the date (hidden under 1366px), then any controls (a replay button, a speed switch) in the pill's own row.
PropTypeDefault
nowrequiredstring | null—

The instant to show (ISO).

stateReactNode—

A word or badge before the time ("Live", "Paused").

timeZonestring—

An IANA zone (default: the viewer's).

replayboolean—

Draw it as a replay (accent background).

childrenReactNode—

Controls after the time (buttons, a `Segmented` speed switch).

classNamestring—

Extra class names for the clock pill.

<RailSlot />0 propsContext carrying what the shell offers a workspace (see `RailSlotCtx`); read it with `useRailSlot`.

No props; takes its root element's HTML attributes.

<SlowLoading />7 props"Loading", and after `afterMs` a designed state instead of an endless spinner: what is slow, an optional server check line, your help text, and Retry.
PropTypeDefault
labelrequiredstring—

The loading line ("Loading shipments").

whatrequiredstring—

What is loading, for the slow state's title ("Shipments").

onRetryrequired() => void—

Retry: starts the wait again and asks the caller to reload.

rowsnumber8

Skeleton rows while loading.

afterMsnumberSLOW_LOAD_MS

Milliseconds before the slow state shows.

checkHealth() => Promise<string>—

Asked once the load is slow: resolves to a line about the server ("database reachable, migrations 42/42").

helpReactNode—

What the person can do (a restart instruction, a status page link).

Helpers5 exported functions
  • useTheme(storageKey?: string): { theme: Theme; toggle: () => void; setTheme: (t: Theme) => void; }

    The theme on <html data-theme>, remembered on this device (`hq-theme`). High Command is dark-first: dark until someone picks light. Returns the theme and a toggle for `ThemeToggle`.

  • useModK(onToggle: () => void): void

    Calls `onToggle` on ⌘K (Ctrl+K elsewhere), the shortcut the search button advertises.

  • useNarrow(px?: number): boolean

    True below the phone breakpoint, where the rail becomes a bottom bar with no room for a slot.

  • useRailSlot(): RailSlotCtx

    The shell's `RailSlotCtx`: register the command band, and read or reverse the panel stack's pop-out state.

  • usePopout(surface: string, meta: PopMeta): { supported: boolean; win: Window | null; onTop: boolean; canPin: boolean; open: () => Promise<void>; close: () => void; pin: () => undefined; }

    One surface's pop-out: its window (null while it is in the page), whether that window is the on-top one, and open, close and keep on top. The window closes when the surface's owner leaves the page (another workspace).

Dependencies

npm
lucide-react
Builds on
ThemeUI primitivesShared helpers
Used by
Command centerFleet
PreviousField serviceNext Ops model

On this page

PreviewInstallationPropsDependencies