New advertisers: 50% off your first month with code FIRSTMONTHSee slots
onewave-ai avatar

Screenshot To Code

Turns UI screenshots into responsive React, Vue, or HTML/CSS code, then checks the render against the image.

skills.sh installs
1.5K
GitHub stars
440
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers the build flow: stack selection, a pre-coding spec of layout and tokens, implementation, responsive collapse, and visual comparison
  • Defaults to React, TypeScript, and Tailwind CSS v4 on Vite, or a single index.html for quick prototypes
  • Enforces semantic elements, extracted components, and design tokens kept in one place rather than scattered hex codes
  • Designed for developers who need a screen, dashboard, or component rebuilt from an image or Figma export

Install

$ npx -y skills add onewave-ai/claude-skills --skill screenshot-to-code -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Screenshot to Code

Recreate the UI in the image as clean, responsive, accessible code, then check the render against the image.

Workflow

  1. Pick the target stack. If the user is inside a project, match it: read package.json for React/Next/Vue and the Tailwind version, and reuse existing components, tokens, and icon libraries. Do not ask when the repo already answers it. With no project:
    • Single screen or quick prototype: one self-contained index.html (Tailwind via the browser build, see references/stack-setup.md).
    • App or multi-screen: React + TypeScript + Tailwind v4 on Vite.
    • User mentions Next.js, SSR, or routing: Next.js App Router.

Details

Repository
github.com/onewave-ai/claude-skills
Categories
Frontend & UI Code, Design & UI/UX
First seen
May 16, 2026

More from onewave-ai/claude-skills

All 104

Similar to Screenshot To Code

More Frontend & UI Code