Skip to content

Design without the lock‑in.

An open-source design editor that opens your Figma files, runs on your machine, and lets you or your AI agent drive every layer.

Open what you already have

OpenPencil reads .fig files directly: pages, components, instances, variables, and auto layout arrive as editable layers, and you can save back to .fig. Paste SVG or open HTML and CSS, and they become layers too, laid out as a browser lays them out.

This is the app’s own tour, a real .fig file. Open a chapter in the layers and click around.

Design with real tools

Auto layout, constraints, fills, strokes, effects, and typography, with the controls where you expect them. Components take slots, so an instance keeps the design and brings its own content. Everything is undoable, and nothing waits on a server.

Hover the selected cover and drag a corner to round it. The other players bring their own covers through the Artwork slot.

Plan on boards

Boards bring FigJam’s sticky notes, shapes, connectors, and sections, and open and save the .jam files Figma reads. Paste a Mermaid flowchart or open a draw.io diagram and it becomes shapes you can move, and agents sketch boards with the same tools.

Drag a sticky note or a shape: its connectors follow. Pick a tool from the toolbar to add your own.

Components that work

Give a component a behaviour, such as a switch, checkbox, slider, tabs, or text field, and preview runs it as a real Reka UI control. Variants become its states, and the same components export to Storybook with controls you can click.

This canvas is in preview: press play, drag the progress bar, toggle shuffle. Leave preview to edit.

Variables are design tokens

Colours, spacing, and type live in collections with modes and are edited as tokens. Exported code writes bound values as CSS custom properties, so the code uses the same names as the design.

Each player reads the Theme collection in its own mode. Change a token’s value and both follow.

Fills that move

A shader is a fill like any other: pick one in the fill picker, stack effects, tune their sliders, or paste a preset from shaders.com. Files keep a still of it, so they open anywhere, and preview plays it.

This canvas is in preview, so the shaders move. Leave preview, select a square, and open its fill.

Linting

OpenPencil checks the design as you work: contrast, text too small to read, default names, hidden and empty layers, stray groups. Problems are marked on the canvas, many come with a fix you apply in one click, and the same rules run in the CLI and for agents.

Click a marker on the canvas, or apply a fix from the list.

Design with AI, on your keys

Ask in plain language and the agent edits the document with the same tools you use, previewing its work on the canvas as it streams. Connect any provider with your own key, or bring the coding agent you already use.

A recorded turn plays through the real agent loop. Watch the canvas build as it streams.

Works with

  • Claude Code
  • Cursor
  • Windsurf
  • Codex
  • Gemini CLI
  • and any MCP client

Work together, with people and agents

Share a link and everyone edits the same document, peer to peer, with live cursors, follow mode, comments pinned to layers, and voice calls. AI agents join the same way: everyone in the room watches them build as they stream.

Both screens are yours to use. Drag a layer on one and watch it move on the other, then ask the agent.

From design to code

Every selection is a Vue or React component, with variants as props and Reka UI or Radix behind the interactive ones, or HTML, Tailwind, and design JSX with variables written as tokens. Components export as Storybook stories, and design JSX stays linked to the canvas: edit it and the canvas follows.

Switch to React, HTML, or design JSX, or select another layer.

Script everything

The openpencil CLI works on a file with no app running, or drives the app you have open. Inspect a document, query it with XPath, lint it, export it, or run Figma plugin code against it with eval. The MCP server gives agents the same reach over stdio or HTTP.

Run a command and watch the canvas.

24 commands

  • analyze
  • convert
  • diff
  • documents
  • eval
  • export
  • find
  • fonts
  • formats
  • import
  • info
  • libraries
  • lint
  • node
  • pages
  • query
  • redo
  • selection
  • settings
  • tokens
  • tool
  • tree
  • undo
  • variables

106 MCP tools

Create, style, lay out, inspect, and export, each one also available to the built-in agent.

Build it into your own product

OpenPencil is a toolkit as much as an app: a framework-neutral engine, a headless Vue SDK, and separate packages for the scene graph and file formats. Embed a canvas in your product, render and check designs in CI, or build a different editor on the same engine. Every canvas on this page is that SDK running inside a documentation site.

The code beside the canvas is all it takes to mount one.

Your files stay yours

Local first
Documents are files on your disk. No account, no server, no internet required.
Your storage
Sync through your own S3-compatible bucket when you want it.
Open formats
Export to .fig, PDF, PPTX, SVG, HTML, and JSX. Leaving is always possible.
MIT licensed
The editor, the rendering engine, the .fig codec, and the CLI.
Now open

OpenPencil Cloud

Your team’s design workspace, hosted for you. Everyone edits the same files live, shares them with a link, and designs with AI paid from the plan’s credits, with nothing to install or run. Start free with 300 MB, and export your files as .fig whenever you like.

Real-time team sync
Every change reaches every teammate as it happens, on any device.
Share links and comments
Send a link to review a design and discuss it right on the canvas.
Version history
Named versions and autosaves to look at, restore, or copy.
AI from your plan
Agents that design with you, paid from your plan’s credits, with no API keys to manage.
Self-host it
Run the same server on your own infrastructure, under the Apache License 2.0.

Roadmap

  1. Shipped
    • OpenPencil Cloud, also self-hosted

    • FigJam-style boards

    • Web pages from a URL as layers

    • Agent Skills and subagents

    • Variable formulas

    • Variable fonts, Material Symbols, and SF Symbols

    • Glass, progressive blur, noise, and texture

    • Image adjustments

    • The Scale tool

    • A faster canvas

    • Comments and voice calls in shared rooms

    • Interactive components and preview

    • Linting with one-click fixes

  2. Now
    • Display P3 color

      Documents drawn and exported in their color profile, as in Figma.

    • Website import

      Pages from a URL drawn closer to the browser, at several window sizes.

    • OpenPencil on Android

      The editor on Android phones, tablets, and foldables.

  3. Next
    • OpenPencil on your phone

      A companion app for iOS and Android, and the editor itself on phones and tablets.

      Companion app
      Open Cloud files, follow a room live, and answer comments and agents.
      Device preview
      Mirror a frame from your desktop onto your phone while you design.
      Design on tablets
      Touch and pencil input, with panels laid out for small screens.
      Same documents
      The editor and Cloud you already use, not a separate app.
    • Presentations

      Slide decks beside designs and boards, built from your design system.

      Your components
      Decks use the same components, variables, and libraries as your designs.
      Presenter view
      Speaker notes, full-screen presenting, and an audience that follows live.
      Figma Slides files
      Open and save .deck files, and export to PDF and PowerPoint.
      Decks from AI
      Draft a deck from an outline or a document, in the deck’s theme.
    • Single sign-on

      OIDC and SSO for teams, with service accounts and webhooks.

    • Projects and folders

      Organize Cloud workspaces, with templates and search.

  4. Later
    • Governed design systems

      Propose, review, publish, and migrate.

    • Embeddable editor

      Put the editor on this page into your own product.

    • Prototyping

      Connections, transitions, and overlays between frames.

Full roadmap

Take your designs with you.