Who it is forA developer who needs a decent first design and the code for it, without a designer.
The problemGoing from an idea to a mockup to code means three tools and a lot of copying.
The outcomeA design on the canvas saved as an .op file, exported to React with Tailwind or HTML with CSS.
What you need first
- 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
Steps
- 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
- Export to React + Tailwind or HTML + CSS
Prompt for your agent
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>.
Caveat.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for ZSeven-W/openpencil and "Design a screen from a prompt and export it to React and Tailwind"
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 freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer