{ "$schema": "https://blode.co/ui/schema/registry-item.json", "name": "aspect-ratio", "title": "Aspect Ratio", "author": "Matthew Blode", "description": "A component that maintains a consistent width-to-height ratio.", "dependencies": ["@base-ui/react"], "files": [ { "path": "ui/aspect-ratio.tsx", "content": "\"use client\";\n\nimport type * as React from \"react\";\n\nimport { cn } from \"@/lib/utils\";\n\nconst AspectRatio = ({\n ratio,\n className,\n style,\n ...props\n}: React.ComponentProps<\"div\"> & { ratio: number }) => (\n \n);\n\nexport { AspectRatio };\n", "type": "registry:ui", "target": "" } ], "type": "registry:ui" }