Cluster status grid
In reviewLive · web
Load preset: node-3 walks the gauge band ladder
node-1 · GB10online
Mem87 / 119 GB
GPU77%
node-2 · GB10online
Mem62 / 119 GB
GPU16%
node-3 · GB10online
Mem86 / 119 GB
Jobs2 queued
node-4 · GB10down
Last seen41m ago
Node-3 memory 86 / 119 GB. The pressure bar re-tones by the shared thresholds (<.60 cyan · <.85 amber · ≥.85 red). The island is live.
The fleet at a glance (WS4, agent-console epic): NockerlClusterGrid is a pure
layout shell (a responsive auto-fill mosaic), and NockerlNodeCell is the tile, a
composition of shipped parts with no new visual grammar:
- Health lives in the
StatusDot: success = online, warning = degraded, error = down. The card surface stays neutral (law §6: never a tinted card, never a rail). - Metrics read mono + tabular so a scanning wall doesn’t jitter. Each row can
carry a
Sparklinetrend or aProgressBarpressure bar toned by the ratified gauge band ladder, the same thresholds as the context gauge (cyan < .60 → amber < .85 → red).ProgressTrackgained thewarningtone for the amber step (additive). - Roles and counts ride soft
Badgesin the header and the openfooterslot.
import { NockerlClusterGrid, NockerlNodeCell, NockerlBadge } from '@dizyx/nockerl-react';
<NockerlClusterGrid ariaLabel="compute cluster"> <NockerlNodeCell name="node-1 · GB10" status="success" // the shared StatusDot ladder, health in the dot statusLabel="online" badge="LLM · prod" metrics={[ { label: 'Mem', value: '87 / 119 GB', ratio: 0.73 }, // pressure bar, gauge-band toned { label: 'GPU', value: '77%', series: gpuTrend }, // sparkline trend ]} footer={<NockerlBadge label="3 models" tone="neutral" variant="soft" />} /> {/* …one cell per node */}</NockerlClusterGrid>Parameters
Section titled “Parameters”| Prop | Type | Default | Description |
|---|---|---|---|
children * | ReactNode | The node tiles (NockerlNodeCell children). | |
ariaLabel | string | 'Cluster status' | Accessible name for the mosaic (role="group"). |
className | string |
| Prop | Type | Default | Description |
|---|---|---|---|
name * | string | The node name ("node-1 · GB10"). | |
status * | StatusKind | Node health on the shared status ladder, lives in the DOT, never the card. | |
statusLabel | string | Accessible health label ("online", "degraded"). Also shown beside the dot. | |
badge | string | Optional soft role badge ("GPU · prod"). | |
metrics | NockerlNodeMetric[] | Metric rows, rendered in order. | |
footer | ReactNode | Open footer slot (chips, counts, an action). | |
className | string |