{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "integration-and-stats-section", "type": "registry:ui", "title": "Integration And Stats Section", "description": "Three-column feature cards with chat, analytics, and polling illustrations", "dependencies": [ "motion" ], "files": [ { "path": "registry/ruixenui/integration-and-stats-section.tsx", "content": "\"use client\";\n\nimport * as React from \"react\";\nimport { motion } from \"motion/react\";\nimport { cn } from \"@/lib/utils\";\n\nconst DOWN_INDICES = new Set([9, 10, 21, 22, 23, 31]);\nconst BAR_COUNT = 38;\n\n/* ── spring presets ─────────────────────────────────────────────── */\nconst SPRING_CARD = { type: \"spring\" as const, stiffness: 280, damping: 32 };\nconst SPRING_SOFT = { type: \"spring\" as const, stiffness: 220, damping: 28 };\nconst SPRING_SNAPPY = { type: \"spring\" as const, stiffness: 400, damping: 30 };\n\n/* ── marks ── geometric, monochrome, one shape per concept ─────── */\nfunction CanvasMark() {\n return (\n \n \n \n \n );\n}\n\nfunction PulseMark() {\n return (\n \n \n \n );\n}\n\nfunction SparkleMark() {\n return (\n \n \n \n );\n}\n\n/* ── card shell — invisible container, content speaks ────────── */\nfunction FeatureCard({\n children,\n className,\n index,\n}: {\n children: React.ReactNode;\n className?: string;\n index: number;\n}) {\n return (\n \n {children}\n \n );\n}\n\n/* ── main ───────────────────────────────────────────────────────── */\nexport default function IntegrationAndStatsSection() {\n return (\n
\n
\n {/* ── Live Canvas ──────────────────────────────────────── */}\n \n
\n \n

\n \n Create in unison.\n {\" \"}\n \n See every cursor in real-time, resolve conflicts instantly, and\n co-author interfaces — without ever leaving the canvas.\n \n

\n
\n\n \n \n \n Design System\n \n\n
\n \n Docu\n \n ment component\n {\" \"}\n \n \n
\n \n E\n \n
\n Elena\n \n variants\n
{\" \"}\n and tokens.\n \n\n \n Standardize patterns, review accessibility, and ship{\" \"}\n \n \n
\n \n J\n \n
\n \n James K.\n \n \n consistent\n
{\" \"}\n interfaces across every surface.\n \n
\n \n
\n \n\n {/* ── System Pulse ─────────────────────────────────────── */}\n \n
\n \n

\n \n Monitor at a glance.\n {\" \"}\n \n Track throughput, catch latency spikes, and surface errors\n across your entire stack — the moment they happen.\n \n

\n
\n\n
\n
\n \n {/* hero metric */}\n
\n \n Throughput\n \n
\n \n 14.2k\n \n \n +8.7%\n \n
\n
\n\n {/* bars cascade from bottom, staggered left → right */}\n
\n {Array.from({ length: BAR_COUNT }, (_, i) => (\n \n ))}\n
\n\n {/* secondary metrics */}\n \n
\n \n Latency\n \n
\n 23ms\n
\n
\n
\n P99\n
\n 89ms\n
\n
\n
\n \n Errors\n \n
\n 0.02%\n
\n
\n \n \n
\n
\n
\n\n {/* ── AI Copilot ───────────────────────────────────────── */}\n \n
\n \n

\n \n Ship with a prompt.\n {\" \"}\n \n Generate components, refine edge cases, and push to production —\n let AI handle the heavy lifting.\n \n

\n
\n\n \n \n {/* input */}\n \n
\n \n Build a settings page with dark mode toggle\n \n \n
\n
\n \n \n \n \n \n \n
\n \n\n {/* skeleton response */}\n \n
\n
\n
\n \n \n
\n \n
\n
\n );\n}\n", "type": "registry:ui", "target": "components/ruixen/integration-and-stats-section.tsx" } ] }