talira

draw-a-ui

Demo app that turns a wireframe you draw on a tldraw canvas into an HTML page with GPT-4 Vision

open sourceMITfree

draw-a-ui looks abandoned: nothing has changed since July 2025, and its makers haven't said it has ended.

No commits since July 2025 and no maintainer activity since; its README names Terragon Labs, which has since shut down, as its successor.

draw-a-ui is a demo Next.js app by Sawyer Hood that turns a wireframe drawn on a tldraw canvas into a web page: it converts the canvas to an image and asks GPT-4 Vision to return a single HTML file styled with Tailwind. You run it locally with your own OpenAI API key. It's MIT licensed. It's no longer developed: the last commit was in July 2025, and its README names Terragon Labs, since shut down, as its successor.

Problems it solves

  • I want to sketch a UI and get working HTML for it
  • I need to turn a wireframe drawing into a Tailwind page
  • I want to see how sketch-to-code with a vision model works

Features

  • Draw a wireframe on a tldraw canvas
  • Generates a single HTML file with Tailwind via GPT-4 Vision
  • Runs locally with your own OpenAI key

Limitations

  • A demo, not for production: it has no authentication, so a public deployment spends your OpenAI credit for anyone who uses it.1
  • It needs an OpenAI API key with access to GPT-4 Vision.1

Alternatives

The same job

These do what draw-a-ui does.

  1. OpenUI Open source tool to describe a UI in words and see it rendered live, from Weights & Biases

Compare draw-a-ui with the top 3