{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "infrastructure-topology",
  "title": "Infrastructure Topology",
  "author": "AlgorizeTech",
  "description": "An interactive live data flow infrastructure topology graph with animated SVG beams, central neural mesh hub, service cards, and metrics.",
  "dependencies": [
    "lucide-react"
  ],
  "registryDependencies": [
    "utils"
  ],
  "files": [
    {
      "path": "src/components/custom/infrastructure-topology.tsx",
      "content": "\"use client\";\n\nimport React, { useState } from \"react\";\nimport { cn } from \"@/lib/utils\";\nimport {\n    Zap,\n    UserCheck,\n    ShieldAlert,\n    Database,\n    Cloud,\n    CreditCard,\n    Activity,\n    Shield,\n    Wifi,\n} from \"lucide-react\";\n\nexport interface TopologyNode {\n    id: string;\n    title: string;\n    subtitle: string;\n    badgeText: string;\n    badgeVariant?: \"emerald\" | \"amber\" | \"blue\" | \"rose\" | \"purple\";\n    icon: React.ReactNode;\n    color: string;\n    strokeColor: string;\n    position: \"top-left\" | \"bottom-left\" | \"top-right\" | \"middle-right\" | \"bottom-right\";\n}\n\nexport interface MetricItem {\n    id: string;\n    label: string;\n    value: string;\n    icon: React.ReactNode;\n    color?: string;\n}\n\nexport interface InfrastructureTopologyProps {\n    /** Header main title */\n    headerTitle?: string;\n    /** Monospaced header subtitle */\n    headerSubtitle?: string;\n    /** System status text */\n    statusBadge?: string;\n    /** Bandwidth status text */\n    bandwidthBadge?: string;\n    /** Center node title */\n    centerTitle?: string;\n    /** Center node subtitle */\n    centerSubtitle?: string;\n    /** Center node theme color: \"cyan\" | \"emerald\" | \"indigo\" | \"rose\" | \"purple\" */\n    centerColor?: \"cyan\" | \"emerald\" | \"indigo\" | \"rose\" | \"purple\";\n    /** Custom list of service nodes */\n    nodes?: TopologyNode[];\n    /** Custom list of bottom metric pills */\n    metrics?: MetricItem[];\n    /** Enable animated beam data flows */\n    animated?: boolean;\n    /** Enable interactive route highlighting on hover */\n    interactive?: boolean;\n    /** Container class name */\n    className?: string;\n}\n\nconst DEFAULT_NODES: TopologyNode[] = [\n    {\n        id: \"auth\",\n        title: \"User Auth\",\n        subtitle: \"OAUTH 2.0\",\n        badgeText: \"SECURED\",\n        badgeVariant: \"blue\",\n        icon: <UserCheck className=\"w-4 h-4 md:w-4.5 md:h-4.5 text-blue-500\" />,\n        color: \"blue\",\n        strokeColor: \"#3b82f6\",\n        position: \"top-left\",\n    },\n    {\n        id: \"waf\",\n        title: \"WAF Guard\",\n        subtitle: \"LAYER 7\",\n        badgeText: \"ONLINE\",\n        badgeVariant: \"rose\",\n        icon: <ShieldAlert className=\"w-4 h-4 md:w-4.5 md:h-4.5 text-rose-500\" />,\n        color: \"rose\",\n        strokeColor: \"#f43f5e\",\n        position: \"bottom-left\",\n    },\n    {\n        id: \"db\",\n        title: \"Postgres\",\n        subtitle: \"PRIMARY DB\",\n        badgeText: \"ONLINE\",\n        badgeVariant: \"purple\",\n        icon: <Database className=\"w-4 h-4 md:w-4.5 md:h-4.5 text-purple-500\" />,\n        color: \"purple\",\n        strokeColor: \"#a855f7\",\n        position: \"top-right\",\n    },\n    {\n        id: \"aws\",\n        title: \"AWS Cloud\",\n        subtitle: \"US-EAST-1\",\n        badgeText: \"ACTIVE\",\n        badgeVariant: \"amber\",\n        icon: <Cloud className=\"w-4 h-4 md:w-4.5 md:h-4.5 text-amber-500\" />,\n        color: \"amber\",\n        strokeColor: \"#f59e0b\",\n        position: \"middle-right\",\n    },\n    {\n        id: \"billing\",\n        title: \"Billing API\",\n        subtitle: \"STRIPE V3\",\n        badgeText: \"ONLINE\",\n        badgeVariant: \"emerald\",\n        icon: <CreditCard className=\"w-4 h-4 md:w-4.5 md:h-4.5 text-emerald-500\" />,\n        color: \"emerald\",\n        strokeColor: \"#10b981\",\n        position: \"bottom-right\",\n    },\n];\n\nconst DEFAULT_METRICS: MetricItem[] = [\n    {\n        id: \"throughput\",\n        label: \"THROUGHPUT\",\n        value: \"4.8 GB/s\",\n        icon: <Activity className=\"w-3.5 h-3.5 text-blue-500\" />,\n        color: \"text-blue-600 dark:text-blue-400\",\n    },\n    {\n        id: \"latency\",\n        label: \"LATENCY P99\",\n        value: \"< 8 ms\",\n        icon: <Zap className=\"w-3.5 h-3.5 text-emerald-500\" />,\n        color: \"text-emerald-600 dark:text-emerald-400\",\n    },\n    {\n        id: \"threats\",\n        label: \"THREATS\",\n        value: \"0 Active\",\n        icon: <Shield className=\"w-3.5 h-3.5 text-muted-foreground\" />,\n        color: \"text-foreground\",\n    },\n    {\n        id: \"queries\",\n        label: \"QUERIES/S\",\n        value: \"12 400\",\n        icon: <Database className=\"w-3.5 h-3.5 text-purple-500\" />,\n        color: \"text-purple-600 dark:text-purple-400\",\n    },\n    {\n        id: \"uptime\",\n        label: \"UPTIME\",\n        value: \"99.99%\",\n        icon: <Wifi className=\"w-3.5 h-3.5 text-amber-500\" />,\n        color: \"text-amber-600 dark:text-amber-400\",\n    },\n];\n\nexport function InfrastructureTopology({\n    headerTitle = \"Infrastructure Topology\",\n    headerSubtitle = \"LIVE DATA FLOW · 6 SERVICES · 5 ROUTES\",\n    statusBadge = \"ALL SYSTEMS\",\n    bandwidthBadge = \"10 GBPS\",\n    centerTitle = \"NEURAL MESH\",\n    centerSubtitle = \"CORE ROUTER · V4.2\",\n    centerColor = \"cyan\",\n    nodes = DEFAULT_NODES,\n    metrics = DEFAULT_METRICS,\n    animated = true,\n    interactive = true,\n    className,\n}: InfrastructureTopologyProps) {\n    const [hoveredNodeId, setHoveredNodeId] = useState<string | null>(null);\n\n    const getCenterColorStyles = (color: string) => {\n        switch (color) {\n            case \"emerald\":\n                return {\n                    border: \"border-emerald-500/60 dark:border-emerald-400/80\",\n                    ringOuter: \"border-emerald-500/20\",\n                    ringInner: \"border-emerald-500/10\",\n                    iconBg: \"bg-emerald-500/10 border-emerald-500/30 text-emerald-600 dark:text-emerald-400\",\n                    text: \"text-emerald-700 dark:text-emerald-400\",\n                };\n            case \"indigo\":\n                return {\n                    border: \"border-indigo-500/60 dark:border-indigo-400/80\",\n                    ringOuter: \"border-indigo-500/20\",\n                    ringInner: \"border-indigo-500/10\",\n                    iconBg: \"bg-indigo-500/10 border-indigo-500/30 text-indigo-600 dark:text-indigo-400\",\n                    text: \"text-indigo-700 dark:text-indigo-400\",\n                };\n            case \"rose\":\n                return {\n                    border: \"border-rose-500/60 dark:border-rose-400/80\",\n                    ringOuter: \"border-rose-500/20\",\n                    ringInner: \"border-rose-500/10\",\n                    iconBg: \"bg-rose-500/10 border-rose-500/30 text-rose-600 dark:text-rose-400\",\n                    text: \"text-rose-700 dark:text-rose-400\",\n                };\n            case \"purple\":\n                return {\n                    border: \"border-purple-500/60 dark:border-purple-400/80\",\n                    ringOuter: \"border-purple-500/20\",\n                    ringInner: \"border-purple-500/10\",\n                    iconBg: \"bg-purple-500/10 border-purple-500/30 text-purple-600 dark:text-purple-400\",\n                    text: \"text-purple-700 dark:text-purple-400\",\n                };\n            case \"cyan\":\n            default:\n                return {\n                    border: \"border-cyan-500/60 dark:border-cyan-400/80\",\n                    ringOuter: \"border-cyan-500/20\",\n                    ringInner: \"border-cyan-500/10\",\n                    iconBg: \"bg-cyan-500/10 border-cyan-500/30 text-cyan-600 dark:text-cyan-400\",\n                    text: \"text-cyan-700 dark:text-cyan-400\",\n                };\n        }\n    };\n\n    const centerTheme = getCenterColorStyles(centerColor);\n\n    const getBadgeStyle = (variant?: string) => {\n        switch (variant) {\n            case \"blue\":\n                return \"bg-blue-500/10 text-blue-700 dark:text-blue-300 border-blue-500/30\";\n            case \"rose\":\n                return \"bg-rose-500/10 text-rose-700 dark:text-rose-300 border-rose-500/30\";\n            case \"purple\":\n                return \"bg-purple-500/10 text-purple-700 dark:text-purple-300 border-purple-500/30\";\n            case \"amber\":\n                return \"bg-amber-500/10 text-amber-700 dark:text-amber-300 border-amber-500/30\";\n            case \"emerald\":\n            default:\n                return \"bg-emerald-500/10 text-emerald-700 dark:text-emerald-300 border-emerald-500/30\";\n        }\n    };\n\n    const getNodeBorderStyle = (color: string, isHovered: boolean) => {\n        if (isHovered) {\n            switch (color) {\n                case \"blue\":\n                    return \"border-blue-500 ring-2 ring-blue-500/20\";\n                case \"rose\":\n                    return \"border-rose-500 ring-2 ring-rose-500/20\";\n                case \"purple\":\n                    return \"border-purple-500 ring-2 ring-purple-500/20\";\n                case \"amber\":\n                    return \"border-amber-500 ring-2 ring-amber-500/20\";\n                case \"emerald\":\n                default:\n                    return \"border-emerald-500 ring-2 ring-emerald-500/20\";\n            }\n        }\n\n        switch (color) {\n            case \"blue\":\n                return \"border-blue-500/30 hover:border-blue-500/60\";\n            case \"rose\":\n                return \"border-rose-500/30 hover:border-rose-500/60\";\n            case \"purple\":\n                return \"border-purple-500/30 hover:border-purple-500/60\";\n            case \"amber\":\n                return \"border-amber-500/30 hover:border-amber-500/60\";\n            case \"emerald\":\n            default:\n                return \"border-emerald-500/30 hover:border-emerald-500/60\";\n        }\n    };\n\n    return (\n        <div\n            className={cn(\n                \"w-full max-w-5xl mx-auto rounded-3xl border border-border/80 bg-background/95 backdrop-blur-2xl p-4 sm:p-6 md:p-8 shadow-none relative overflow-hidden select-none\",\n                \"bg-[radial-gradient(var(--border)_1.2px,transparent_1.2px)] [background-size:20px_20px]\",\n                className\n            )}\n        >\n            {/* `dash` drives the animate-[dash_…] beams below. Plain <style> rather\n                than styled-jsx so the component compiles outside Next.js, and kept\n                inline so the keyframes survive a copy into another project. */}\n            <style\n                dangerouslySetInnerHTML={{\n                    __html: `@keyframes dash { to { stroke-dashoffset: -1000; } }`,\n                }}\n            />\n\n            {/* Header Section */}\n            <div className=\"flex flex-col sm:flex-row items-start sm:items-center justify-between gap-3 sm:gap-4 pb-4 sm:pb-6 border-b border-border/40\">\n                <div className=\"space-y-1\">\n                    <h2 className=\"text-lg sm:text-xl md:text-2xl font-bold tracking-tight text-foreground\">\n                        {headerTitle}\n                    </h2>\n                    <p className=\"text-[10px] sm:text-[11px] font-mono font-semibold tracking-widest text-muted-foreground\">\n                        {headerSubtitle}\n                    </p>\n                </div>\n\n                <div className=\"flex items-center gap-2\">\n                    <div className=\"px-3 py-1 rounded-full text-[11px] sm:text-xs font-mono font-semibold bg-emerald-500/10 text-emerald-600 dark:text-emerald-400 border border-emerald-500/20 flex items-center gap-1.5 cursor-pointer hover:bg-emerald-500/20 transition-colors\">\n                        <span className=\"w-2 h-2 rounded-full bg-emerald-500 animate-pulse\" />\n                        <span>{statusBadge}</span>\n                    </div>\n\n                    <div className=\"px-3 py-1 rounded-full text-[11px] sm:text-xs font-mono font-semibold bg-muted/80 text-muted-foreground border border-border/60 flex items-center gap-1.5 cursor-pointer hover:bg-muted transition-colors\">\n                        <Wifi className=\"w-3.5 h-3.5\" />\n                        <span>{bandwidthBadge}</span>\n                    </div>\n                </div>\n            </div>\n\n            {/* DESKTOP & TABLET VIEW (md and up): 2D Graph Canvas with SVG Lines */}\n            <div className=\"hidden md:flex relative w-full min-h-[480px] lg:min-h-[500px] items-center justify-center my-4\">\n                {/* SVG Data Flow Connection Beams Overlay */}\n                <svg className=\"absolute inset-0 w-full h-full pointer-events-none z-0\">\n                    <defs>\n                        <linearGradient id=\"gradient-blue\" x1=\"0%\" y1=\"0%\" x2=\"100%\" y2=\"100%\">\n                            <stop offset=\"0%\" stopColor=\"#3b82f6\" stopOpacity=\"0.8\" />\n                            <stop offset=\"100%\" stopColor=\"#60a5fa\" stopOpacity=\"0.2\" />\n                        </linearGradient>\n                        <linearGradient id=\"gradient-rose\" x1=\"0%\" y1=\"0%\" x2=\"100%\" y2=\"100%\">\n                            <stop offset=\"0%\" stopColor=\"#f43f5e\" stopOpacity=\"0.8\" />\n                            <stop offset=\"100%\" stopColor=\"#fb7185\" stopOpacity=\"0.2\" />\n                        </linearGradient>\n                        <linearGradient id=\"gradient-purple\" x1=\"0%\" y1=\"0%\" x2=\"100%\" y2=\"100%\">\n                            <stop offset=\"0%\" stopColor=\"#a855f7\" stopOpacity=\"0.8\" />\n                            <stop offset=\"100%\" stopColor=\"#c084fc\" stopOpacity=\"0.2\" />\n                        </linearGradient>\n                        <linearGradient id=\"gradient-amber\" x1=\"0%\" y1=\"0%\" x2=\"100%\" y2=\"100%\">\n                            <stop offset=\"0%\" stopColor=\"#f59e0b\" stopOpacity=\"0.8\" />\n                            <stop offset=\"100%\" stopColor=\"#fbbf24\" stopOpacity=\"0.2\" />\n                        </linearGradient>\n                        <linearGradient id=\"gradient-emerald\" x1=\"0%\" y1=\"0%\" x2=\"100%\" y2=\"100%\">\n                            <stop offset=\"0%\" stopColor=\"#10b981\" stopOpacity=\"0.8\" />\n                            <stop offset=\"100%\" stopColor=\"#34d399\" stopOpacity=\"0.2\" />\n                        </linearGradient>\n                    </defs>\n\n                    <line\n                        x1=\"22%\"\n                        y1=\"22%\"\n                        x2=\"50%\"\n                        y2=\"50%\"\n                        stroke=\"url(#gradient-blue)\"\n                        strokeWidth={hoveredNodeId === \"auth\" ? 4 : 3}\n                        strokeDasharray=\"8 6\"\n                        className={cn(\"transition-all duration-300\", animated && \"animate-[dash_20s_linear_infinite]\")}\n                    />\n\n                    <line\n                        x1=\"22%\"\n                        y1=\"78%\"\n                        x2=\"50%\"\n                        y2=\"50%\"\n                        stroke=\"url(#gradient-rose)\"\n                        strokeWidth={hoveredNodeId === \"waf\" ? 4 : 3}\n                        strokeDasharray=\"8 6\"\n                        className={cn(\"transition-all duration-300\", animated && \"animate-[dash_22s_linear_infinite]\")}\n                    />\n\n                    <line\n                        x1=\"78%\"\n                        y1=\"20%\"\n                        x2=\"50%\"\n                        y2=\"50%\"\n                        stroke=\"url(#gradient-purple)\"\n                        strokeWidth={hoveredNodeId === \"db\" ? 4 : 3}\n                        strokeDasharray=\"8 6\"\n                        className={cn(\"transition-all duration-300\", animated && \"animate-[dash_18s_linear_infinite]\")}\n                    />\n\n                    <line\n                        x1=\"78%\"\n                        y1=\"50%\"\n                        x2=\"50%\"\n                        y2=\"50%\"\n                        stroke=\"url(#gradient-amber)\"\n                        strokeWidth={hoveredNodeId === \"aws\" ? 4 : 3}\n                        strokeDasharray=\"8 6\"\n                        className={cn(\"transition-all duration-300\", animated && \"animate-[dash_15s_linear_infinite]\")}\n                    />\n\n                    <line\n                        x1=\"78%\"\n                        y1=\"80%\"\n                        x2=\"50%\"\n                        y2=\"50%\"\n                        stroke=\"url(#gradient-emerald)\"\n                        strokeWidth={hoveredNodeId === \"billing\" ? 4 : 3}\n                        strokeDasharray=\"8 6\"\n                        className={cn(\"transition-all duration-300\", animated && \"animate-[dash_25s_linear_infinite]\")}\n                    />\n                </svg>\n\n                {/* Central Neural Mesh Hub Node - Mode Adaptive Colors, NO ZOOM */}\n                <div className=\"relative z-20 flex flex-col items-center justify-center cursor-pointer\">\n                    <div className=\"relative flex items-center justify-center\">\n                        <div className={cn(\"absolute w-32 h-32 lg:w-36 lg:h-36 rounded-full border animate-ping opacity-40 pointer-events-none\", centerTheme.ringOuter)} />\n                        <div className={cn(\"absolute w-40 h-40 lg:w-44 lg:h-44 rounded-full border animate-pulse pointer-events-none\", centerTheme.ringInner)} />\n\n                        <div className={cn(\"w-24 h-24 lg:w-28 lg:h-28 rounded-full bg-card text-card-foreground border-2 shadow-none flex flex-col items-center justify-center p-2.5 lg:p-3 relative cursor-pointer backdrop-blur-xl transition-colors\", centerTheme.border)}>\n                            <div className={cn(\"p-1.5 lg:p-2 rounded-xl border mb-1 transition-colors\", centerTheme.iconBg)}>\n                                <Zap className=\"w-5 h-5 lg:w-6 lg:h-6 animate-pulse\" />\n                            </div>\n                        </div>\n                    </div>\n\n                    <div className=\"text-center mt-2.5 space-y-0.5\">\n                        <h4 className={cn(\"text-[11px] lg:text-xs font-bold tracking-wider uppercase\", centerTheme.text)}>\n                            {centerTitle}\n                        </h4>\n                        <p className=\"text-[9px] lg:text-[10px] font-mono font-semibold text-muted-foreground\">\n                            {centerSubtitle}\n                        </p>\n                    </div>\n                </div>\n\n                {/* Peripheral Service Card Nodes - Slightly Smaller on md: Screen */}\n                <div className=\"absolute inset-0 w-full h-full pointer-events-none\">\n                    {nodes.map((node) => {\n                        const isHovered = hoveredNodeId === node.id;\n\n                        let posClasses = \"\";\n                        switch (node.position) {\n                            case \"top-left\":\n                                posClasses = \"top-4 left-4 lg:left-12\";\n                                break;\n                            case \"bottom-left\":\n                                posClasses = \"bottom-4 left-4 lg:left-12\";\n                                break;\n                            case \"top-right\":\n                                posClasses = \"top-2 right-4 lg:right-12\";\n                                break;\n                            case \"middle-right\":\n                                posClasses = \"top-1/2 -translate-y-1/2 right-4 lg:right-12\";\n                                break;\n                            case \"bottom-right\":\n                                posClasses = \"bottom-2 right-4 lg:right-12\";\n                                break;\n                        }\n\n                        return (\n                            <div\n                                key={node.id}\n                                onMouseEnter={() => interactive && setHoveredNodeId(node.id)}\n                                onMouseLeave={() => interactive && setHoveredNodeId(null)}\n                                className={cn(\n                                    \"absolute pointer-events-auto w-40 md:w-44 lg:w-48 rounded-2xl border bg-card/95 backdrop-blur-xl p-3 md:p-3.5 lg:p-4 shadow-none transition-all duration-300 flex flex-col items-center text-center gap-1.5 md:gap-2 cursor-pointer hover:scale-[1.03]\",\n                                    getNodeBorderStyle(node.color, isHovered),\n                                    posClasses\n                                )}\n                            >\n                                <div className=\"p-2 md:p-2.5 rounded-xl bg-muted/60 border border-border/50\">\n                                    {node.icon}\n                                </div>\n\n                                <div className=\"space-y-0.5 min-w-0 w-full\">\n                                    <h3 className=\"text-xs md:text-sm font-semibold text-foreground leading-tight truncate\">\n                                        {node.title}\n                                    </h3>\n                                    <p className=\"text-[9px] md:text-[10px] font-mono font-medium text-muted-foreground truncate\">\n                                        {node.subtitle}\n                                    </p>\n                                </div>\n\n                                <span\n                                    className={cn(\n                                        \"px-2 md:px-2.5 py-0.5 rounded-full text-[8px] md:text-[9px] font-mono font-semibold tracking-wider border uppercase flex items-center gap-1 cursor-pointer\",\n                                        getBadgeStyle(node.badgeVariant)\n                                    )}\n                                >\n                                    <span className=\"w-1.5 h-1.5 rounded-full bg-current\" />\n                                    <span>{node.badgeText}</span>\n                                </span>\n                            </div>\n                        );\n                    })}\n                </div>\n            </div>\n\n            {/* MOBILE & SMALL SCREEN VIEW (< md): Clean Grid Layout */}\n            <div className=\"md:hidden py-6 space-y-6\">\n                {/* Central Hub Node Mobile */}\n                <div className=\"flex flex-col items-center justify-center text-center py-2 cursor-pointer\">\n                    <div className=\"relative flex items-center justify-center\">\n                        <div className={cn(\"absolute w-28 h-28 rounded-full border animate-ping opacity-40 pointer-events-none\", centerTheme.ringOuter)} />\n                        <div className={cn(\"w-20 h-20 rounded-full bg-card text-card-foreground border-2 flex flex-col items-center justify-center p-2 backdrop-blur-xl\", centerTheme.border)}>\n                            <Zap className={cn(\"w-5 h-5 animate-pulse\", centerTheme.text)} />\n                        </div>\n                    </div>\n                    <h4 className={cn(\"text-xs font-bold tracking-wider uppercase mt-2\", centerTheme.text)}>\n                        {centerTitle}\n                    </h4>\n                    <p className=\"text-[9px] font-mono font-semibold text-muted-foreground\">\n                        {centerSubtitle}\n                    </p>\n                </div>\n\n                {/* 2-Column Responsive Service Grid */}\n                <div className=\"grid grid-cols-1 xs:grid-cols-2 gap-3\">\n                    {nodes.map((node) => (\n                        <div\n                            key={node.id}\n                            className={cn(\n                                \"rounded-2xl border bg-card/95 p-3.5 flex items-center gap-3 transition-all cursor-pointer hover:scale-[1.02]\",\n                                getNodeBorderStyle(node.color, false)\n                            )}\n                        >\n                            <div className=\"p-2 rounded-xl bg-muted/60 border border-border/50 shrink-0\">\n                                {node.icon}\n                            </div>\n\n                            <div className=\"flex-1 min-w-0 space-y-0.5\">\n                                <div className=\"flex items-center justify-between gap-1\">\n                                    <h3 className=\"text-xs font-semibold text-foreground truncate\">\n                                        {node.title}\n                                    </h3>\n                                    <span\n                                        className={cn(\n                                            \"px-1.5 py-0.2 rounded text-[8px] font-mono font-semibold border uppercase shrink-0\",\n                                            getBadgeStyle(node.badgeVariant)\n                                        )}\n                                    >\n                                        {node.badgeText}\n                                    </span>\n                                </div>\n                                <p className=\"text-[9px] font-mono font-medium text-muted-foreground truncate\">\n                                    {node.subtitle}\n                                </p>\n                            </div>\n                        </div>\n                    ))}\n                </div>\n            </div>\n\n            {/* Bottom Telemetry Metrics Bar */}\n            <div className=\"pt-4 sm:pt-6 border-t border-border/40 flex flex-wrap items-center justify-center sm:justify-between gap-2 sm:gap-3\">\n                {metrics.map((metric) => (\n                    <div\n                        key={metric.id}\n                        className=\"px-3 sm:px-4 py-1.5 sm:py-2 rounded-2xl border border-border/60 bg-muted/40 backdrop-blur-md flex items-center gap-2 text-xs shadow-none hover:border-border cursor-pointer transition-all hover:scale-[1.02]\"\n                    >\n                        <div className=\"p-1 rounded-md bg-background/80 border border-border/40\">\n                            {metric.icon}\n                        </div>\n                        <div className=\"flex flex-col\">\n                            <span className=\"text-[8px] sm:text-[9px] font-mono font-semibold text-muted-foreground tracking-wider\">\n                                {metric.label}\n                            </span>\n                            <span className={cn(\"text-[11px] sm:text-xs font-mono font-semibold\", metric.color)}>\n                                {metric.value}\n                            </span>\n                        </div>\n                    </div>\n                ))}\n            </div>\n        </div>\n    );\n}\n\nexport default InfrastructureTopology;\n",
      "type": "registry:component",
      "target": "components/custom/infrastructure-topology.tsx"
    }
  ],
  "docs": "Named export: InfrastructureTopology. Accepts `headerTitle`, `headerSubtitle`, `statusBadge`, `bandwidthBadge`, `centerTitle`, `nodes`, `metrics`, `animated`, `interactive`.",
  "categories": [
    "data-display",
    "layout"
  ],
  "type": "registry:component"
}
