AI-native design editor. Open-source Figma alternative.
Fix docs review issues: remove nonexistent figma.render(), clean up install
Danila Poyarkov25d9039b20e2
diff --git a/packages/docs/programmable/cli/inspecting.md b/packages/docs/programmable/cli/inspecting.mdindex af4f17aae..0cb2e7f5f 100644--- a/packages/docs/programmable/cli/inspecting.md+++ b/packages/docs/programmable/cli/inspecting.md@@ -7,17 +7,13 @@ description: Browse node trees, search by name or type, and dig into propertiesThe CLI lets you explore `.fig` files without opening the editor. Every command also works on the live app — just omit the file argument.-## Install-+::: tip Install```shbun add -g @open-pencil/cli-```--Or with Homebrew:--```sh+# orbrew install open-pencil/tap/open-pencil```+:::## Document Infodiff --git a/packages/docs/programmable/index.md b/packages/docs/programmable/index.mdindex 48fb07f31..497182146 100644--- a/packages/docs/programmable/index.md+++ b/packages/docs/programmable/index.md@@ -24,7 +24,7 @@ Real-time multiplayer editing over peer-to-peer WebRTC. No server, no account. S## JSX Renderer-Describe UI as JSX — the same syntax LLMs already know from React. A single `render` call can create an entire component tree with frames, text, auto-layout, fills, and strokes. Compact, declarative, and diffable.+Describe UI as JSX — the same syntax LLMs already know from React. A single call can create an entire component tree with frames, text, auto-layout, fills, and strokes. Compact, declarative, and diffable.Going the other direction, export any selection back to JSX with Tailwind classes — useful for handing off to development or feeding designs back into an LLM.diff --git a/packages/docs/programmable/jsx-renderer.md b/packages/docs/programmable/jsx-renderer.mdindex 66a1e8cb4..baa1ecf9a 100644--- a/packages/docs/programmable/jsx-renderer.md+++ b/packages/docs/programmable/jsx-renderer.md@@ -20,11 +20,7 @@ The `render` tool (available in AI chat, MCP, and CLI eval) accepts JSX:</Frame>```-In the CLI:--```sh-open-pencil eval design.fig -c 'figma.render(`<Frame w={200} h={100} bg="#3B82F6" rounded={8} />`)' -w-```+In the MCP server and AI chat, the `render` tool accepts JSX strings directly. In the CLI, use the `export` command to go the other direction — [exporting designs as JSX](./cli/exporting).## Elements