SYS:ONLINE● ACTIVE
THEME
GITHUBv0.1.0

STATUS GRID

System health board for dashboards. Each row shows a service name with a live status dot and label. Supports 1–3 column layouts.

PREVIEW

SHIP SYSTEMS
LIFE SUPPORT
ACTIVE
NAVIGATION
ACTIVE
WEAPONS ARRAYmaintenance
OFFLINE
SHIELD EMITTER61%
WARNING
WARP CORE
SCANNING
COMM RELAY
ACTIVE
HULL PLATINGsector 7
WARNING
REACTOR COOLANToverheat
CRITICAL

INSTALLATION

BASH
npx shadcn@latest add @scificn/status-grid

USAGE

TSX
import { StatusGrid, type SystemEntry } from '@/ui/status-grid'

const systems: SystemEntry[] = [
  { name: 'API GATEWAY',   status: 'ACTIVE' },
  { name: 'DATABASE',      status: 'ACTIVE' },
  { name: 'AUTH SERVICE',  status: 'WARNING', detail: 'latency spike' },
  { name: 'CDN',           status: 'ACTIVE' },
]

<StatusGrid
  systems={systems}
  title="INFRASTRUCTURE"
  columns={2}
/>

COLUMNS

columns=1

LIFE SUPPORT
ACTIVE
NAVIGATION
ACTIVE

columns=2

LIFE SUPPORT
ACTIVE
NAVIGATION
ACTIVE
WEAPONS ARRAYmaintenance
OFFLINE
SHIELD EMITTER61%
WARNING

columns=3

LIFE SUPPORT
ACTIVE
NAVIGATION
ACTIVE
WEAPONS ARRAYmaintenance
OFFLINE
SHIELD EMITTER61%
WARNING
WARP CORE
SCANNING
COMM RELAY
ACTIVE

STATUSES

STATUS REFERENCE
ACTIVEnominal operation
ACTIVE
SCANNINGpulsing dot, in progress
SCANNING
WARNINGdegraded or partial
WARNING
CRITICALfailure or overheat
CRITICAL
OFFLINEpowered down
OFFLINE

PROPS

PROPTYPEDEFAULTDESCRIPTION
systemsSystemEntry[]Array of system entries to display.
titlestringundefinedOptional header label shown above the grid.
columns1 | 2 | 31Number of columns in the grid layout.
classNamestringAdditional classes merged via cn().

SYSTEMENTRY FIELDS

PROPTYPEDEFAULTDESCRIPTION
namestringService or system name displayed on the left.
statusACTIVE | OFFLINE | WARNING | CRITICAL | SCANNINGControls the dot color, glow, and status label.
detailstringundefinedOptional muted secondary text shown beside the name.