onlook-dev

    onlook-dev/onlook

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

    ai
    database
    developer-tools
    frontend
    low-code
    web
    cursor
    cursor-ai
    design
    design-to-code
    drizzle
    editor
    figma
    ide
    nextjs
    react
    supabase
    tailwindcss
    typescript
    ui
    vibe-coding
    vibecoding
    TypeScript
    Apache-2.0
    24.6K stars
    1.8K forks
    24.6K watching
    Updated 2/27/2026
    View on GitHub
    Backblaze Advertisement

    Loading star history...

    Health Score

    75

    Weekly Growth

    +0

    +0.0% this week

    Contributors

    1

    Total contributors

    Open Issues

    352

    Generated Insights

    About onlook

    header image

    Onlook

    Cursor for Designers
    Explore the docs »

    👨‍💻👩‍💻👨‍💻 We're hiring engineers in SF! 👩‍💻👨‍💻👩‍💻


    View Demo · Report Bug · Request Feature

    Discord LinkedIn Twitter

    中文 | Español | Deutsch | français | Português | Русский | 日本語 | 한국어

    An Open-Source, Visual-First Code Editor

    Craft websites, prototypes, and designs with AI in Next.js + TailwindCSS. Make edits directly in the browser DOM with a visual editor. Design in realtime with code. An open-source alternative to Bolt.new, Lovable, V0, Replit Agent, Figma Make, Webflow, etc.

    🚧 🚧 🚧 Onlook is still under development 🚧 🚧 🚧

    We're actively looking for contributors to help make Onlook for Web an incredible prompt-to-build experience. Check the open issues for a full list of proposed features (and known issues), and join our Discord to collaborate with hundreds of other builders.

    What you can do with Onlook:

    • Create Next.js app in seconds

      • Start from text or image
      • Use prebuilt templates
      • Import from Figma
      • Start from GitHub repo
    • Visually edit your app

      • Use Figma-like UI
      • Preview your app in real-time
      • Manage brand assets and tokens
      • Create and navigate to Pages
      • Browse layers
      • Manage project Images
      • Detect and use Components – Previously in Onlook Desktop
    • Development Tools

      • Real-time code editor
      • Save and restore from checkpoints
      • Run commands via CLI
      • Connect with app marketplace
    • Deploy your app in seconds

      • Generate sharable links
      • Link your custom domain
    • Collaborate with your team

      • Real-time editing
      • Leave comments

    Onlook-GitHub-Example

    Getting Started

    Available soon with a hosted app or run locally.

    Usage

    Onlook will run on any Next.js + TailwindCSS project, import your project into Onlook or start from scratch within the editor.

    Use the AI chat to create or edit a project you're working on. At any time, you can always right-click an element to open up the exact location of the element in code.

    image

    Draw-in new divs and re-arrange them within their parent containers by dragging-and-dropping.

    image

    Preview the code side-by-side with your site design.

    image

    Use Onlook's editor toolbar to adjust Tailwind styles, directly manipulate objects, and experiment with layouts.

    image

    Documentation

    For full documentation, visit docs.onlook.com

    To see how to Contribute, visit Contributing to Onlook in our docs.

    How it works

    architecture
    1. When you create an app, we load the code into a web container
    2. The container runs and serves the code
    3. Our editor receives the preview link and displays it in an iFrame
    4. Our editor reads and indexes the code from the container
    5. We instrument the code in order to map elements to their place in code
    6. When the element is edited, we edit the element in our iFrame, then in code
    7. Our AI chat also has code access and tools to understand and edit the code

    This architecture can theoretically scale to any language or framework that displays DOM elements declaratively (e.g. jsx/tsx/html). We are focused on making it work well with Next.js and TailwindCSS for now.

    For a full walkthrough, check out our Architecture Docs.

    Our Tech Stack

    Front-end

    Database

    AI

    Sandbox and hosting

    Runtime

    • Bun - Monorepo, runtime, bundler
    • Docker - Container management

    Contributing

    image

    If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also open issues.

    See the CONTRIBUTING.md for instructions and code of conduct.

    Contributors

    Contact

    image

    License

    Distributed under the Apache 2.0 License. See LICENSE.md for more information.

    Discover Repositories

    Search across tracked repositories by name or description