{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "image-card",
  "title": "Image card",
  "author": "andongmin94",
  "description": "A neobrutalist card for presenting an image with supporting content.",
  "files": [
    {
      "path": "src/components/ui/image-card.tsx",
      "content": "import { cn } from \"@/lib/utils\";\n\ntype Props = {\n  imageUrl: string;\n  caption: string;\n  className?: string;\n};\n\nexport default function ImageCard({ imageUrl, caption, className }: Props) {\n  return (\n    <figure\n      className={cn(\n        \"w-[250px] overflow-hidden rounded-base border-2 border-border bg-main font-base shadow-shadow\",\n        className,\n      )}\n    >\n      <img className=\"w-full aspect-4/3\" src={imageUrl} alt={caption} />\n      <figcaption className=\"border-t-2 text-main-foreground border-border p-4\">\n        {caption}\n      </figcaption>\n    </figure>\n  );\n}\n",
      "type": "registry:ui"
    }
  ],
  "categories": [
    "data-display",
    "media"
  ],
  "type": "registry:ui"
}