About
An SVG iPad device frame component that displays a custom image or screenshot inside its screen, useful for app/product showcase mockups.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds iPad Mockup to your project and fits it to your theme.
Code
How iPad Mockup is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { Ipad } from "@/components/ui/ipad";
export default function iPadDemo() {
return (
<div className="relative w-full h-screen flex items-center justify-center">
<Ipad
src="https://cdn.21st.dev/assets/localized/d300d82ef97694b18c795c96b33a70f1e6491eb50e64bd3ce5c1a1ab2a822792.jpg"
className="size-full"
/>
</div>
);
}

