{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "color-swatch",
  "type": "registry:ui",
  "title": "Color Swatch",
  "dependencies": [
    "@base-ui-next/react"
  ],
  "registryDependencies": [
    "https://hamur.dev/r/react/utils.json"
  ],
  "files": [
    {
      "path": "react/color-swatch.tsx",
      "content": "'use client'\n\nimport { ColorSwatch as ColorSwatchPrimitive } from '@base-ui-next/react/color-swatch' // base-ui-next/ui color-swatch@0.1.1\nimport { cn } from '@/lib/utils'\n\nconst colorSwatchClassName =\n  'inline-block size-6 shrink-0 rounded-md border border-foreground/20 [background:linear-gradient(var(--color),var(--color)),conic-gradient(color-mix(in_oklch,var(--muted-foreground)_25%,var(--background))_25%,var(--background)_0_50%,color-mix(in_oklch,var(--muted-foreground)_25%,var(--background))_0_75%,var(--background)_0)_0_0/8px_8px] data-empty:border-dashed'\n\n// No shadcn item: one name per Base UI part (BN-331, question 10).\nfunction ColorSwatch({ className, ...props }: ColorSwatchPrimitive.Root.Props) {\n  return (\n    <ColorSwatchPrimitive.Root\n      data-slot=\"color-swatch\"\n      className={cn(colorSwatchClassName, className)}\n      {...props}\n    />\n  )\n}\n\nexport { ColorSwatch }\n",
      "type": "registry:ui",
      "target": "@ui/color-swatch.tsx"
    }
  ],
  "meta": {
    "baseUiNext": {
      "version": "0.1.1",
      "hash": "8bc92e4ce25c0f1dbca450c6f8a9944904ce61b6b7e788f6a05970cd857b7e84",
      "files": {
        "@ui/color-swatch.tsx": "92d0456cd09302e471e8100543e58472b97d3a6c57a03a56816fc0949a74cba1"
      }
    }
  }
}
