open-pencil

AI-native design editor. Open-source Figma alternative.

What is open-pencil?

AI-native design editor. Open-source Figma alternative.

Overview of open-pencil

What it is

OpenPencil is an open-source design editor that opens .fig and .pen design files. It includes built-in AI capabilities and ships as a programmable toolkit with a headless Vue SDK for building custom editors. The project is in active development.

Key features

  • Opens .fig and .pen files — read and write native Figma files
  • AI builds designs — describe what you want in chat, 100+ tools create and modify nodes
  • Fully programmable — headless CLI, XPath queries, Figma Plugin API plus an openpencil API via eval, MCP server for AI agents
  • Lint, convert, and extract tokens — inspect documents, lint naming/layout/accessibility, convert between supported formats, analyze colors/typography/spacing/clusters, and extract design tokens
  • Components and variants — create reusable components, group variants into component sets
  • Real-time collaboration — share a peer-to-peer room over WebRTC with no server or account, or edit Cloud documents together
  • Auto layout & CSS Grid — flex and grid layout via Yoga WASM

Use cases

The editor can be used for opening and editing .fig and .pen files, AI-assisted design creation, programmatic design manipulation, linting and analysis of design documents, real-time collaboration, and embedding design editing into other applications via the Vue SDK.

Getting started

Install the desktop app on macOS:

brew install --cask openpencil

Install the CLI globally:

npm install -g @open-pencil/cli
### or: bun add -g @open-pencil/cli

The web app requires no installation. See the repository README for system requirements and additional details.

License and pricing

License: MIT. Open source.

Based on the project's public README and repository metadata.

Add this badge to your README

Featured on YunoDB Badge styles & help

Maintain this project? Show that it is featured on YunoDB.

Markdown[![Featured on YunoDB](https://yunodb.com/badge/open-pencilopen-pencil.svg)](https://yunodb.com/tools/open-pencilopen-pencil?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/open-pencilopen-pencil?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/open-pencilopen-pencil.svg" alt="Featured on YunoDB" height="20"></a>