uicapsule

Screenshot Capture

Component 10

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>
  );
}

Dependencies

More by uicapsule

View all
  • Gradient Orb

    Gradient Orb

    515
  • Background Pixel Stars

    Background Pixel Stars

    355
  • Geometric Orb

    Geometric Orb

    129
  • Background Shapes

    Background Shapes

    111
  • Formation

    Formation

    102
  • Voice Dictator

    Voice Dictator

    89
  • Infinite Grid

    Infinite Grid

    35
  • ASCII Renderer

    ASCII Renderer

    16