prompt-canvas
v0.0.6
Published
Visual prompts for coding agents directly from your frontend
Readme
prompt-canvas
Visual prompts for coding agents directly from your frontend. A React component for annotating changes & sending them to coding agents.

Install
npm install prompt-canvasUsage (NextJS App Router)
Mount the client component in app/layout.tsx only when in development mode:
import { PromptCanvas } from 'prompt-canvas';
// ...
// Place this in your body
{process.env.NODE_ENV === 'development' && <PromptCanvas />}
// ...Then, run the dev server npm run dev and open the web app in the browser.
Supported browsers: Chrome, Firefox.
Keyboard Shortcuts
| Shortcut | Tool | |------------------|-------------------| | P | Pen | | B | Box | | T | Text | | E | Eraser | | ⌘C | Copy screenshot | | ⌘Z / ⌘⇧Z | Undo / Redo |
