{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "window-chrome",
  "type": "registry:ui",
  "title": "Window chrome",
  "description": "A macOS style window frame for React with three traffic light dots, a truncated title bar and a padded content area for framing demos and screenshots.",
  "dependencies": [],
  "registryDependencies": [
    "utils"
  ],
  "files": [
    {
      "path": "registry/ui/window-chrome.tsx",
      "type": "registry:ui",
      "target": "components/ui/window-chrome.tsx",
      "content": "\"use client\"\nimport * as React from \"react\"\nimport { cn } from \"@/lib/utils\"\n\nfunction WindowChrome({\n  title = \"minidev — gallery\",\n  children,\n  className,\n}: {\n  title?: string\n  children?: React.ReactNode\n  className?: string\n}) {\n  return (\n    <div data-slot=\"window-chrome\" className={cn(\"overflow-hidden rounded-xl border border-border bg-surface shadow-highlight\", className)}>\n      <div className=\"flex h-9 items-center gap-2 border-b border-border bg-sunken px-3\">\n        <span className=\"size-2.5 rounded-full bg-fg-subtle/40\" aria-hidden />\n        <span className=\"size-2.5 rounded-full bg-fg-subtle/40\" aria-hidden />\n        <span className=\"size-2.5 rounded-full bg-fg-subtle/40\" aria-hidden />\n        <span className=\"ml-2 truncate text-xs text-fg-muted\">{title}</span>\n      </div>\n      <div className=\"p-4\">{children}</div>\n    </div>\n  )\n}\nexport { WindowChrome }\n"
    }
  ]
}
