About
An animated iPhone mockup that simulates taking a screenshot: a flash, the screen shrinking into a corner thumbnail, then a swipe-away gesture to dismiss it.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Screenshot Capture to your project and fits it to your theme.
Code
How Screenshot Capture is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client";
import ScreenshotCapture from "@/components/ui/screenshot-capture";
export default function ScreenshotCaptureDemo() {
return (
<main className="flex h-screen w-full items-center justify-center overflow-hidden bg-[radial-gradient(circle_at_50%_20%,#1b1d26_0%,#0d0e14_55%,#050609_100%)] p-5">
<ScreenshotCapture />
</main>
);
}







