{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "cluster",
  "type": "registry:ui",
  "title": "Cluster",
  "description": "Flex layout primitive that wraps children in a row with vertical centering and a numeric gap on the 4px scale. Great for tags, buttons and meta rows.",
  "dependencies": [],
  "registryDependencies": [
    "utils"
  ],
  "files": [
    {
      "path": "registry/ui/cluster.tsx",
      "type": "registry:ui",
      "target": "components/ui/cluster.tsx",
      "content": "\"use client\"\nimport * as React from \"react\"\nimport { cn } from \"@/lib/utils\"\n\nfunction Cluster({\n  className,\n  gap = 2,\n  ...props\n}: React.ComponentProps<\"div\"> & { gap?: number }) {\n  return (\n    <div\n      data-slot=\"cluster\"\n      className={cn(\"flex flex-wrap items-center\", className)}\n      style={{ gap: gap * 4 }}\n      {...props}\n    />\n  )\n}\nexport { Cluster }\n"
    }
  ]
}
