Recreate a UI screen from a screenshot or image reference. The goal is pixel-perfect accuracy — the rendered output should be visually indistinguishable from the source image.
-
Phase 1: Analyze the Screenshot
-
Layout Analysis: Identify the overall layout structure; map the visual hierarchy; note container structures; identify repeating patterns.
-
Color Extraction: Extract exact colors from the image; record all colors as hex; note if a dark theme is present.
-
Typography Analysis: Determine font classification, heading sizes, body text size, font weights, and letter spacing.
-
Component Inventory: Catalog visible components such as buttons, cards, inputs, navigation, lists, modals, tags, and avatars.
-
Spacing System: Define container padding, section spacing, internal card padding, gaps, and margin multiples.
-
Phase 2: Build
-
Construction Rules: Match layout fidelity, color fidelity, typography fidelity, and component fidelity; reproduce content exactly as shown; ensure correct interaction states.
-
Phase 3: Validate
-
Visual validation: compare layout, colors, typography, spacing, and component details against the source image; iterate until fidelity is achieved.
Paste the reference screenshot and the AI will generate a pixel-perfect UI recreation scaffold.