Status Monitor Demo
8starlabs-ui/status-monitor-demoFreeExample
A status monitor demo with daily uptime 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-demo.jsonSource
1import StatusMonitor, {2 type AppStatusData3} from "@/registry/8starlabs-ui/blocks/status-monitor";45const startDate = Date.UTC(2026, 3, 1);6const dayInMilliseconds = 24 * 60 * 60 * 1000;78const statuses: AppStatusData[] = Array.from({ length: 90 }, (_, index) => {9 const day = index + 1;10 const timestamp = new Date(startDate + index * dayInMilliseconds);1112 if (day === 44 || day === 72) {13 return {14 status: "error",15 timestamp,16 info: "API availability dropped while failover completed."17 };18 }1920 if (day % 17 === 0 || day % 29 === 0) {21 return {22 status: "warning",23 timestamp,24 info: "Latency was elevated, but requests continued to complete."25 };26 }2728 return {29 status: "normal",30 timestamp,31 info: "All checks completed within the expected threshold."32 };33});3435export default function StatusMonitorDemo() {36 return <StatusMonitor statuses={statuses} title="API Status" />;37}
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 |
