Status Monitor Hours Demo
8starlabs-ui/status-monitor-hours-demoFreeExample
A status monitor demo with hourly incident history.
Live preview
live · rendered by the registry
Rendered by 8starlabs-ui on their own page — this is the component running, not a screenshot of it.Install it
npx shadcn@latest add https://ui.8starlabs.com/r/status-monitor-hours-demo.jsonSource
1import StatusMonitor, {2 type AppStatusData3} from "@/registry/8starlabs-ui/blocks/status-monitor";45const startTime = Date.UTC(2026, 6, 10, 0, 0, 0);6const hourInMilliseconds = 60 * 60 * 1000;78const statuses: AppStatusData[] = Array.from({ length: 90 }, (_, index) => {9 const hour = index + 1;10 const timestamp = new Date(startTime + index * hourInMilliseconds);1112 if (hour >= 54 && hour <= 56) {13 return {14 status: "error",15 timestamp,16 info: "Checkout requests failed during a payment provider outage."17 };18 }1920 if ((hour >= 34 && hour <= 38) || hour === 76) {21 return {22 status: "warning",23 timestamp,24 info: "Queue depth increased while background jobs caught up."25 };26 }2728 return {29 status: "normal",30 timestamp,31 info: "No active incidents were detected for this hour."32 };33});3435export default function StatusMonitorHoursDemo() {36 return (37 <StatusMonitor statuses={statuses} unit="hours" title="Checkout Health" />38 );39}
What it pulls in
Other registry items
Files it writes
More from 8starlabs-ui
All 74 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Buttonbutton-demo | 8starlabs-ui | Examples | Free | no deps | |
| Flip clockflip-clock-countdown-demo | 8starlabs-ui | Examples | Free | no deps | |
| Flip clockflip-clock-demo | 8starlabs-ui | Examples | Free | no deps | |
| Flip clockflip-clock-showdays-demo | 8starlabs-ui | Examples | Free | no deps | |
| Flip clockflip-clock-size-demo | 8starlabs-ui | Examples | Free | no deps | |
| Flip clockflip-clock-variants-demo | 8starlabs-ui | Examples | Free | no deps | |
| Heatmapheatmap-custom-colors-demo | 8starlabs-ui | Examples | Free | no deps | |
| Heatmapheatmap-custom-display-demo | 8starlabs-ui | Examples | Free | no deps |
