{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "aspect-ratio",
  "title": "Aspect Ratio",
  "description": "Keep media at a fixed ratio so layout never shifts.",
  "dependencies": [
    "radix-ui"
  ],
  "registryDependencies": [
    "utils",
    "https://ui.cuelark.com/r/theme.json"
  ],
  "files": [
    {
      "path": "src/registry/cuelark/ui/aspect-ratio.tsx",
      "content": "\"use client\";\n\nimport * as React from \"react\";\nimport { AspectRatio as AspectRatioPrimitive } from \"radix-ui\";\n\nimport { cn } from \"@/lib/utils\";\n\n/** Keeps content at a fixed ratio (images, video, maps) so layout never shifts while media loads. */\nfunction AspectRatio({ className, ...props }: React.ComponentProps<typeof AspectRatioPrimitive.Root>) {\n  return <AspectRatioPrimitive.Root data-slot=\"aspect-ratio\" className={cn(\"overflow-hidden rounded-[inherit]\", className)} {...props} />;\n}\n\nexport { AspectRatio };\n",
      "type": "registry:ui"
    }
  ],
  "docs": "Docs and examples: https://ui.cuelark.com/components/aspect-ratio",
  "categories": [
    "layout"
  ],
  "type": "registry:ui"
}