What do you want to do?
3 use cases
-
Design a screen from a prompt and export it to React and Tailwind
Install OpenPencil, describe a UI in plain language, and export the design to code.
- REPO
ZSeven-W/openpencil - Content
- Beginner
View prompt
Install ZSeven-W/openpencil and design <screen> for <product> from this description: <description>. Apply the <style> style guide and export it to React + Tailwind in <folder>.
- REPO
-
Create and edit designs from Claude Code through OpenPencil's MCP server
Install the MCP server into your coding agent so it can read, create and modify .op design files.
- REPO
ZSeven-W/openpencil - Claude Code
- Codex
- Content
- Intermediate
View prompt
Using the ZSeven-W/openpencil MCP server, create a <page> design as an .op file in this repo, apply our style guide, and export it to <framework>. Commit the .op file separately so I can review the diff.
- REPO
-
Script batch design changes from the terminal with the op CLI
Install the op CLI and pipe batch design commands into OpenPencil from files or stdin.
View prompt
Install the ZSeven-W/openpencil op CLI and write a script that uses op design and op insert to <batch change> across <files>, then export each to <framework>.
Quick start with Openpencil
- Check you have what it needs: macOS, Windows or Linux (desktop) or the web app; An AI model provider key, or Claude Code, Codex or OpenCode via MCP; Homebrew, Scoop or a GitHub Release download.
- Open ZSeven-W/openpencil on GitHub and read the README and license.
- On macOS run
brew tap zseven-w/openpencilthenbrew install --cask openpencil - On Windows run
scoop bucket add openpencil https://github.com/zseven-w/scoop-openpencilthenscoop install openpencil - Describe the UI in natural language and watch the agents build hero, features and footer in parallel
- Select elements and chat to modify them, or apply a style guide such as glassmorphism
These steps come from our top use case, Design a screen from a prompt and export it to React and Tailwind, which also has a copy-paste agent prompt.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for ZSeven-W/openpencil
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeAbout this repo
- Who it is forDevelopers and designers who want AI-generated UI designs they can version in Git and export to code.
- Why it is hot6.9k stars, talked about in 3 AI sources we track
- LanguageRust
- Sourcegithub.com/ZSeven-W/openpencil ยท Back to Hot repos
Requirements
- macOS, Windows or Linux (desktop) or the web app
- An AI model provider key, or Claude Code, Codex or OpenCode via MCP
- Homebrew, Scoop or a GitHub Release download
Add this badge to your README
Maintain Openpencil? Show readers where to find these use cases.
Markdown
[](https://dedupedai.com/use-cases/zseven-w-openpencil/?utm_source=github&utm_medium=badge&utm_campaign=ZSeven-W-openpencil)
HTML
<a href="https://dedupedai.com/use-cases/zseven-w-openpencil/?utm_source=github&utm_medium=badge&utm_campaign=ZSeven-W-openpencil"><img src="https://dedupedai.com/badge/ZSeven-W/openpencil.svg" alt="Use cases on Deduped" height="20"></a>
A static image, no tracking script. About the badge
Questions about Openpencil
What is Openpencil?
OpenPencil is an open-source, AI-native vector design tool. You describe UI in natural language and concurrent agent teams draw it on an infinite canvas; designs are .op JSON files that are Git-friendly and export to React with Tailwind, HTML and CSS, Vue, Svelte, Flutter, SwiftUI and more. It has a built-in MCP server for Claude Code, Codex and OpenCode, an `op` CLI and real-time collaboration. It is an open-source project on GitHub: https://github.com/ZSeven-W/openpencil.
How do I use Openpencil?
On macOS run brew tap zseven-w/openpencil then brew install --cask openpencil; then on Windows run scoop bucket add openpencil https://github.com/zseven-w/scoop-openpencil then scoop install openpencil; describe the UI in natural language and watch the agents build hero, features and footer in parallel. The use cases on this page give the full steps and a copy-paste agent prompt for each job.
Who is Openpencil for?
Developers and designers who want AI-generated UI designs they can version in Git and export to code.
What can I do with Openpencil?
3 use cases so far, for example: Design a screen from a prompt and export it to React and Tailwind; Create and edit designs from Claude Code through OpenPencil's MCP server; Script batch design changes from the terminal with the op CLI. Each has steps and a copy-paste agent prompt.
What do I need to run Openpencil?
macOS, Windows or Linux (desktop) or the web app; An AI model provider key, or Claude Code, Codex or OpenCode via MCP; Homebrew, Scoop or a GitHub Release download.
What are alternatives to Openpencil?
Other hot AI repos in Content: Voice Studio, Anatomy, Huashu Motion, Humanizer, Papermorph.
Is Openpencil safe to run?
Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.