{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "stack",
  "type": "registry:ui",
  "title": "Stack",
  "description": "Vertical stack layout primitive that arranges children in a flex column with a gap prop from 1 to 8 on a 4px scale. Accepts all normal div props in React.",
  "dependencies": [],
  "registryDependencies": [
    "utils"
  ],
  "files": [
    {
      "path": "registry/ui/stack.tsx",
      "type": "registry:ui",
      "target": "components/ui/stack.tsx",
      "content": "\"use client\"\nimport * as React from \"react\"\nimport { cn } from \"@/lib/utils\"\n\nfunction Stack({\n  className,\n  gap = 3,\n  ...props\n}: React.ComponentProps<\"div\"> & { gap?: 1 | 2 | 3 | 4 | 5 | 6 | 8 }) {\n  return (\n    <div\n      data-slot=\"stack\"\n      className={cn(\"flex flex-col\", `gap-${gap}`, className)}\n      style={{ gap: gap * 4 }}\n      {...props}\n    />\n  )\n}\nexport { Stack }\n"
    }
  ]
}
