Skip to content

Tech Stack ​

Core Technologies ​

LayerTechnologyWhy
RenderingSkia CanvasKit WASMSame engine as Figma — proven performance, GPU-accelerated, pixel-perfect
UI FrameworkVue 3 + VueUseReactive composition API, excellent TypeScript support
ComponentsReka UIHeadless, accessible UI primitives (tree, slider, etc.)
StylingTailwind CSS 4Utility-first, fast iteration, dark theme
LayoutYoga WASMCSS flexbox and grid engine, battle-tested in React Native
File FormatKiwi binary + ZstdFigma's own format — compact, fast parsing, .fig compatible
CollaborationYjs (+ Trystero)CRDT sync and presence; Cloud documents sync through their server's relay, and the Trystero peer-to-peer rooms are off in Pairdraw builds
ColorculoriColor space conversions (HSV, RGB, hex)
AI/MCPMCP SDK + HonoMore than 130 tools for AI coding tools, stdio + HTTP transports
JSX TransformSucraseLightweight (201 KB) JSX → JS, synchronous, browser-compatible
Eventsnanoevents108 bytes, typed event emitter for SceneGraph mutations
DesktopTauri v2A macOS installer of about 20 MB (Electron bundles ~100MB of Chromium alone), Rust backend
BuildVite 8Fast HMR, native ES modules
TestingPlaywright + bun:testVisual regression (E2E) + fast unit tests
LintingoxlintRust-based, orders of magnitude faster than ESLint
FormattingoxfmtRust-based formatter
Type CheckingTypeScript 7, vue-tscTypeScript 7 (the native Go compiler) checks .ts; vue-tsc checks .vue on the TypeScript 6 API

Key Dependencies ​

json
{
  "canvaskit-wasm": "^0.41.1",
  "vue": "^3.5.43",
  "yoga-layout": "npm:@open-pencil/[email protected]",
  "nanoevents": "^9.1.0",
  "sucrase": "^3.35.1",
  "reka-ui": "^2.10.5",
  "tailwindcss": "^4.3.3",
  "culori": "^4.0.2",
  "@hpcc-js/wasm-zstd": "^1.16.2",
  "fflate": "^0.8.3",
  "@trystero-p2p/mqtt": "^0.26.0",
  "yjs": "^13.6.32",
  "y-indexeddb": "^9.0.12"
}

Why Not... ​

Why not SVG rendering? ​

SVG is slow for complex documents. Every node is a DOM element — 10,000 nodes means 10,000 DOM nodes with layout, paint, and compositing overhead. CanvasKit draws everything to a single GPU surface. (Penpot still defaults to SVG rendering but has an opt-in Rust/Skia WASM renderer in development.)

Why not Electron (like Figma desktop)? ​

Tauri v2 uses the system webview instead of bundling Chromium (~100MB). The Rust backend provides native performance for file I/O and system integration.

Why not React (like the original plan)? ​

The project migrated from React to Vue 3 early in development. Vue's reactivity system and VueUse composables proved more ergonomic for the editor's state management needs.

Why not custom layout engine? ​

Yoga implements the CSS flexbox spec and is battle-tested in React Native. Building a custom engine would be months of work to reach the same correctness level.

Additional Technologies ​

TechnologyPurposeStatus
CSS Grid in YogaGrid-based auto layoutShipped through a Yoga fork with CSS Grid support, installed as yoga-layout

Released under the MIT License.