"use client"; import { Button } from "@prototype/components/ui/button"; import { usePopulateDesignSystemPromptCopy } from "@prototype/lib/prototypes/use-populate-design-system-prompt-copy"; import { cn } from "@prototype/lib/utils"; import { Loader2 } from "lucide-react"; const LOADING_PANEL_CLASS = "max-w-2xl rounded-xl border border-dashed border-[var(--tool-chrome-border)] bg-[var(--tool-chrome-surface)] px-6 py-8 text-[var(--tool-chrome-text-heading)]"; type PrototypeDesignSystemLoadingPanelProps = { telemetryModal?: string; className?: string; }; export function PrototypeDesignSystemLoadingPanel({ telemetryModal = "component-library-loading", className, }: PrototypeDesignSystemLoadingPanelProps) { const { copyDesignSystemPrompt, icon, isCopied, isCopying } = usePopulateDesignSystemPromptCopy({ telemetryModal }); return (

Setting up your design system

Your agent is syncing styles and base components from the linked source. You can browse prototypes while this finishes — reload or return to this tab when the sync completes.

Taking too long? Copy the design system prompt again and rerun it in your agent.

); }