About
A portrait-ratio image card with a dark gradient overlay and a caption title/subtitle, useful for photo galleries and destination lists.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Caption Overlay Aspect Ratio to your project and fits it to your theme.
Code
How Caption Overlay Aspect Ratio is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import CaptionOverlayAspectRatioDemo from "@/components/ui/aspect-ratio-03";
export default function Preview() {
return (
<div className="flex w-full items-center justify-center p-8">
<CaptionOverlayAspectRatioDemo />
</div>
);
}















