{
 "schema_version": 1,
 "generated": "2026-10-30",
 "id": "zseven-w-openpencil--design-a-ui-from-a-prompt-and-export-react-with-openpencil",
 "repo": "ZSeven-W/openpencil",
 "repo_url": "https://github.com/ZSeven-W/openpencil",
 "repo_slug": "zseven-w-openpencil",
 "title": "Design a screen from a prompt and export it to React and Tailwind",
 "page_title": "How to design a screen from a prompt and export it to React and Tailwind with Openpencil",
 "summary": "Install OpenPencil, describe a UI in plain language, and export the design to code.",
 "who": "A developer who needs a decent first design and the code for it, without a designer.",
 "problem": "Going from an idea to a mockup to code means three tools and a lot of copying.",
 "outcome": "A design on the canvas saved as an .op file, exported to React with Tailwind or HTML with CSS.",
 "steps": [
  "On macOS run `brew tap zseven-w/openpencil` then `brew install --cask openpencil`",
  "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",
  "Select elements and chat to modify them, or apply a style guide such as glassmorphism",
  "Export to React + Tailwind or HTML + CSS"
 ],
 "agent_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>.",
 "agents": [
  "any"
 ],
 "difficulty": "Beginner",
 "time": "20 minutes",
 "basis": "readme",
 "caveat": "",
 "category": "Content",
 "tags": [
  "Content"
 ],
 "lang": "rust",
 "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"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/zseven-w-openpencil/design-a-ui-from-a-prompt-and-export-react-with-openpencil/",
 "md": "https://dedupedai.com/use-cases/zseven-w-openpencil/design-a-ui-from-a-prompt-and-export-react-with-openpencil/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/zseven-w-openpencil--design-a-ui-from-a-prompt-and-export-react-with-openpencil.json",
 "api_version": "v1"
}
