import styles from "./DesignPanel.module.css"; type Stat = { label: string; value: string; hint?: string }; const defaultStats: Stat[] = [ { label: "Uptime", value: "99.98%", hint: "30d" }, { label: "Latency", value: "84ms", hint: "p95" }, { label: "Migrations", value: "12", hint: "this week" }, ]; export function DesignPanel({ title = "System Brief", subtitle = "A compact panel designed for strong hierarchy and quick scanning.", stats = defaultStats, ctaLabel = "View details", }: { title?: string; subtitle?: string; stats?: Stat[]; ctaLabel?: string; }) { return (
Field Report

{title}

{subtitle}

{stats.map((s) => (
{s.label}
{s.hint ?
{s.hint}
: null}
{s.value}
))}
); }