onlook-dev/onlook

The Cursor for Designers • An Open-Source AI-First Design tool • Visually build, style, and edit your React App with AI

What it solves

Onlook addresses the friction between visual design and frontend development. It allows designers and developers to edit a live website's UI visually in the browser while automatically syncing those changes back to the underlying Next.js and TailwindCSS code, eliminating the need to manually translate Figma designs into code.

How it works

Onlook loads a project's code into a web container that serves the app in an iFrame. The editor indexes the code and instruments it to create a direct map between DOM elements in the browser and their specific locations in the source code. When a user makes a visual change in the editor, Onlook updates the element in the iFrame and simultaneously modifies the corresponding code. It also integrates an AI chat with code access to generate or edit components via text or image prompts.

Who it’s for

It is designed for AI-native designers and frontend developers working with Next.js and TailwindCSS who want to prototype and build user interfaces visually without leaving their codebase.

Highlights

  • Visual-to-Code Sync: Edit elements directly in the browser DOM with changes reflected in real-time in the code.
  • AI-Driven Creation: Generate Next.js apps and components starting from text or image prompts.
  • Figma-like Interface: Includes a visual editor with layer browsing, brand asset management, and a components panel.
  • Developer Tooling: Features a side-by-side code editor, CLI command execution, and checkpoint saving/restoring.
  • Rapid Deployment: Ability to generate shareable links and connect custom domains quickly.

Related

  • Project
  • Project
  • Project
  • Project
  • Project