{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "aspect-ratio",
  "title": "Aspect Ratio",
  "author": "shoota <https://github.com/shoota>",
  "description": "Aspect Ratio — gymnopédies-themed shadcn primitive.",
  "registryDependencies": [
    "https://gymnopedies.shoota.work/r/utils.json"
  ],
  "files": [
    {
      "path": "src/components/ui/aspect-ratio.tsx",
      "content": "import { cn } from \"@/lib/utils\"\n\nfunction AspectRatio({\n  ratio,\n  className,\n  ...props\n}: React.ComponentProps<\"div\"> & { ratio: number }) {\n  return (\n    <div\n      data-slot=\"aspect-ratio\"\n      style={\n        {\n          \"--ratio\": ratio,\n        } as React.CSSProperties\n      }\n      className={cn(\"relative aspect-(--ratio)\", className)}\n      {...props}\n    />\n  )\n}\n\nexport { AspectRatio }\n",
      "type": "registry:ui"
    }
  ],
  "categories": [
    "ui",
    "shadcn"
  ],
  "type": "registry:ui"
}