LibreAI / Design / Screenshot To Code
// design · abi/screenshot-to-code

Screenshot To Code

Drop in a screenshot and convert it to clean code (HTML/Tailwind/React/Vue)

★ 80.0k stars⑂ 9.8k forksMITupdated 2026-09
▦ visual — this project's README ships no embeddable screenshot,
so here's a placeholder. The guide below is complete regardless.
// project facts

Project facts

Screenshot To Code is an open-source design project by abi (abi/screenshot-to-code on GitHub). It has 79,959 GitHub stars and 9,776 forks, is released under the MIT license, and was last updated on GitHub on 29 September 2026.

GitHub stars
79,959
Forks
9,776
License
MIT
Last updated on GitHub
29 September 2026
Category
Design
Listing
Full install guide
Official site
Official site
// how it works

How it works

  1. Choose your starting point

    A blank canvas, an existing screenshot, or a text prompt describing what you want.

  2. Design visually

    Drag, drop, and edit with real components — what you see is actual code underneath.

  3. Let AI assist

    Generate layouts from screenshots or prompts, then refine by hand where it matters.

  4. Export production code

    Ship clean React/Tailwind/CSS you can actually maintain, not a dead mockup.

// features

Why people love it

Visual editing

Design directly on the canvas with real components and styles.

AI generation

Screenshot-to-code and prompt-to-UI that produce editable results.

Real code output

Exports are maintainable codebases, not locked-in proprietary files.

Collaboration

Multiplayer editing and commenting for teams.

Self-hostable

Your design files live on your infrastructure.

Open formats

No proprietary lock-in on your own work.

Advertisement
// run it

Run it yourself

  1. Step 1 — Clone the repo

    Download the source and move into the project folder.

    git clone https://github.com/abi/screenshot-to-code.git
    cd screenshot-to-code
  2. Step 2 — Create an environment

    Isolate dependencies so nothing clashes with your other projects.

    python -m venv .venv
    source .venv/bin/activate  # Windows: .venv\Scripts\activate
  3. Step 3 — Install and launch

    Install the requirements, then follow the README's launch command (it varies per project).

    pip install -r requirements.txt
// use cases

What you can build

Advertisement
// faq

Questions, answered

Can AI-generated UI be production quality?

As a starting point, yes — expect to refine by hand, which these tools are built for.

Figma replacement?

For many workflows, increasingly yes — especially teams wanting self-hosting or code output.

Who maintains Screenshot To Code?

It is an open-source project at abi/screenshot-to-code with 9,776 forks. Check the repo's contributors and recent commits to see how active maintenance is.

What code does it export?

Typically React with Tailwind or plain HTML/CSS, depending on the tool.

Is it free?

The open-source tools here are free to use and self-host.

Do I need design skills?

AI-assisted starting points lower the bar a lot, but taste still helps.

// keep exploring

Similar tools

Design

Onlook

The Developer Tool for Designers • An Open-Source AI-First Design tool • Visually build, style, and edit your code with AI • World's…

★ 26.9k starsApache-2.0
View guide →
Design

Penpot

Penpot: The open-source design platform for Product teams that need scalable collaboration

★ 60.6k starsMPL-2.0
View guide →
Design

Webstudio

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports…

★ 9.0k starsAGPL-3.0
View guide →
Design

cursor-talk-to-figma-mcp

TalkToFigma — an MCP bridge letting Cursor, Claude Code or Codex read and modify Figma designs.

★ 7.0k starsMIT
View guide →
Design

structurizr

Models-as-code tool for the C4 software architecture model

★ 429 starsApache-2.0
View guide →
Design

langchat-slides

An AI slide-deck generator built on Vue 3: describe your topic and it produces

★ 218 starsApache-2.0
View guide →
// alternatives

Alternatives in Design

The most-starred other Design projects in the LibreAI catalogue — the realistic shortlist if Screenshot To Code is not the right fit.

Get Screenshot To Code

Free and open — grab the source, star the repo, and start creating.