import { Badge } from "@/registry/ui/badge" import { Card } from "@/registry/ui/card" import { Progress } from "@/registry/ui/progress" const metrics = [ { label: "Requests", value: "4.1B", change: "+12.4%", direction: "up", note: "vs. 3.6B last month", usage: 68, }, { label: "Error rate", value: "0.02%", change: "−0.01pt", direction: "up", note: "1.1M errors of 4.1B", usage: 4, }, { label: "p95 latency", value: "61ms", change: "+3ms", direction: "down", note: "budget is 120ms", usage: 51, }, { label: "Storage", value: "812GB", change: "+41GB", direction: "down", note: "of the 1TB included", usage: 81, }, ] export default function StatsCards() { return (

This month

updated 4 minutes ago

{metrics.map((metric) => (
{metric.label} {metric.change}

{metric.value}

{metric.note}

))}
) }