{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "files": [
    {
      "content": "import Image from \"next/image\";\n\nimport { AspectRatio } from \"~/registry/ui/aspect-ratio\";\n\nexport function AspectRatioDemo() {\n  return (\n    <div className=\"grid w-full max-w-sm items-start gap-4\">\n      <AspectRatio className=\"rounded-lg bg-muted\" ratio={16 / 9}>\n        <Image\n          alt=\"Photo by Drew Beamer\"\n          className=\"h-full w-full select-none rounded-lg object-cover dark:brightness-[0.2] dark:grayscale\"\n          draggable={false}\n          fill\n          src=\"https://images.unsplash.com/photo-1588345921523-c2dcdb7f1dcd?w=800&dpr=2&q=80\"\n        />\n      </AspectRatio>\n      <AspectRatio className=\"rounded-lg bg-muted\" ratio={1 / 1}>\n        <Image\n          alt=\"Photo by Drew Beamer\"\n          className=\"h-full w-full select-none rounded-lg object-cover dark:brightness-[0.2] dark:grayscale\"\n          draggable={false}\n          fill\n          src=\"https://images.unsplash.com/photo-1588345921523-c2dcdb7f1dcd?w=800&dpr=2&q=80\"\n        />\n      </AspectRatio>\n    </div>\n  );\n}\n",
      "path": "src/registry/examples/aspect-ratio/aspect-ratio-demo.tsx",
      "type": "registry:example"
    }
  ],
  "name": "aspect-ratio-demo",
  "registryDependencies": [
    "@kanpeki/aspect-ratio"
  ],
  "type": "registry:example"
}