Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
O

onlook

> 前端框架
Open source

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

26.4K stars0 likes3 views
WebsiteGitHub

About

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

This is the open-source visual editor that started Onlook (Next.js + Tailwind). The hosted product we're building next, for AI-native designers, is in early access via the waitlist above.

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.

What you can do with Onlook:

  • Create Next.js app in seconds
    • Start from text or image
    • Use prebuilt templates
  • 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
    • Drag-and-drop Components Panel
    • Use Branching to experiment with designs
  • 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
  • Advanced AI capabilities
    • Queue multiple messages at once
    • Use Images as references and as assets in a project
    • Setup and use MCPs in projects
    • Allow Onlook to use itself as a toolcall for branch creation and iteration
  • Advanced project support
    • Support non-NextJS projects
    • Support non-Tailwind projects

Getting Started

Use our 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.


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


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


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

Documentation

For full documentation, visit docs.onlook.com

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

How it works

  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

  • Next.js - Full stack
  • TailwindCSS - Styling
  • tRPC - Server interface

Database

  • Supabase - Auth, Database, Storage
  • Drizzle - ORM

AI

  • AI SDK - LLM client
  • OpenRouter - LLM model provider
  • Morph Fast Apply - Fast apply model provider
  • Relace - Fast apply model provider

Sandbox and hosting

  • CodeSandboxSDK - Dev sandbox
  • Freestyle - Hosting

Runtime

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

Contributing

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

  • Team: Discord - Twitter - LinkedIn - Email - YouTube
  • Project: https://github.com/onlook-dev/onlook
  • Website: https://onlook.com

License

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

Issues· 381 open

View all issuesOpen on GitHub
  • #3140

    [feat] Optional Parallel Search MCP backend for web_search

    Updated Sep 22, 2026
  • #3139

    Prepaid Exa/Firecrawl hop vs Onlook web_search keys?

    Updated Sep 17, 2026
  • #3138

    [feat] docs: OpenAI-compatible baseURL /v1 example for self-host

    Updated Aug 28, 2026
  • #3133

    Fresh self-host fails at migration 0008: direct storage-table deletes rejected (SQLSTATE 42501) on current Supabase

    Updated Aug 13, 2026
  • #3131

    [feat] can we import the .fig to onlook?

    enhancementUpdated Jul 31, 2026
  • #3128

    Proposal: expose local project design context to external coding agents

    Updated Jul 20, 2026
  • #3119

    setup:env crashes on Windows with ENOENT: mkdir '' when writing API keys

    bugUpdated Jun 23, 2026
  • #3116

    [bug] macOS Intel (x86_64) app crashes on startup - missing @parcel/watcher-darwin-x64

    bugUpdated Jun 8, 2026
  • #3114

    [feat] AI-generated code quality score — show confidence and diff clarity before applying changes

    enhancementUpdated Jun 1, 2026
  • #2111

    [Help] Can't login correctly-redirected to Onlook after authentication

    help wantedUpdated May 5, 2026

> Tags

TypeScriptaicursorcursor-aidesign

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 30, 2026
Category前端框架
PricingOpen source

> Related tools

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架