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
.figand.penfiles — 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
openpencilAPI viaeval, 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.