"use client"; import { Button } from "@prototype/components/ui/button"; import { buildPopulateDesignSystemCopyText } from "@prototype/lib/prototypes/populate-design-system-prompt"; import { useWorkspaceProfile } from "@prototype/lib/prototypes/use-workspace-profile"; import useCopyToClipboard from "@prototype/lib/use-copy-to-clipboard"; type PrototypeDesignSystemEmptyStateProps = { sourcePath?: string; syncConfigPath?: string; designSystemPagePath?: string; }; export function PrototypeDesignSystemEmptyState({ sourcePath, syncConfigPath, designSystemPagePath, }: PrototypeDesignSystemEmptyStateProps) { const { copy, icon, isCopied } = useCopyToClipboard(); const workspaceProfile = useWorkspaceProfile(); const handleCopy = () => { const origin = typeof window !== "undefined" ? window.location.origin : undefined; copy( buildPopulateDesignSystemCopyText({ sourcePath, syncConfigPath, designSystemPagePath, origin, workspaceProfile, }), ); }; return (

No components yet

Copy the prompt below into your agent. It will inspect the linked source and distill styles and base components onto this page — err on the side of syncing more rather than less.

); }