{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "container",
  "title": "Container",
  "description": "A centred page-width wrapper with fluid and narrow widths.",
  "registryDependencies": [
    "@khaeli/utils"
  ],
  "files": [
    {
      "path": "registry/khaeli/ui/container.tsx",
      "content": "import * as React from \"react\"\n\nimport { cn } from \"@/lib/utils\"\n\ninterface ContainerProps extends React.HTMLAttributes<HTMLDivElement> {\n  fluid?: boolean\n  narrow?: boolean\n  as?: React.ElementType\n}\n\nfunction Container({\n  className,\n  as: Comp = \"div\",\n  fluid,\n  narrow,\n  children,\n  ...rest\n}: ContainerProps) {\n  return (\n    <Comp\n      data-slot=\"container\"\n      className={cn(\n        \"mx-auto w-full px-4 md:px-8\",\n        !fluid && (narrow ? \"max-w-3xl\" : \"max-w-[87.5rem]\"),\n        className\n      )}\n      {...rest}\n    >\n      {children}\n    </Comp>\n  )\n}\n\nexport { Container }\n",
      "type": "registry:ui"
    }
  ],
  "docs": "Install @khaeli/foundation first: this item's styling lives in its tokens and [data-slot] rules.",
  "type": "registry:ui"
}