Skip to content

Roadmap ​

Pairdraw is moving toward production-grade Figma compatibility while keeping design documents programmable, local-first, and fast on large files.

Current focus ​

  • Improve .fig import/export fidelity against real Figma files and Figma's own rendering.
  • Make saves, recovery, storage synchronization, and automation resilient to crashes, interrupted writes, expired credentials, and temporary provider failures.
  • Keep large design systems responsive in the browser and desktop app.
  • Make international text reliable across platforms, starting with non-Latin font discovery, Arabic/Persian shaping, RTL layout, and broader CJK fixtures.
  • Treat the scene graph as a programmable design document: every important read, write, export, diff, and validation operation should be reachable through UI, CLI, MCP, and SDK surfaces.
  • Keep local files and local-first workflows first-class while making an optional Pairdraw Cloud backend and self-hosted deployments practical.

Recently delivered ​

Releases since v0.16.0, from the changelog:

  • 0.17.0 — Imported HTML, .fig, .pen, draw.io, and Mermaid files open more faithfully; damaged files fail with an error instead of freezing the app; rotated layers measure, align, and snap where they are drawn; standalone HTML export can no longer carry live markup.
  • 0.18.0 — A save or export replaces a file only after the new copy is fully written; each agent stays on the document it edits while tabs switch; a stalled provider ends with a notice; MCP failures name the arguments they accept; plugins run under tighter limits; Hebrew, Thai, and Devanagari draw through fallback fonts.
  • 0.19.0 — The properties panel moves into the left sidebar as the Design tab; large .fig files open faster and in less memory; agents read and write prototype connections; an instance offers Reset all changes; fill, stroke, and effect rows reorder by dragging; the token import can pick a resolver's folder.
  • 0.20.0 — Design memory that agents follow, variations to compare and keep, custom prompts and reviews, and a token meter; interactive components, Smart animate, scrolling frames, and MP4/GIF/WebM video export; the eyedropper, document colours, on-canvas auto-layout handles, image adjustments, noise and texture effects, OpenType features, replace fonts, and push-to-main.
  • 0.21.0 — A 21-shader gallery that paints only while on screen; Display P3 documents that keep their profile through exports; agents read a subtree as compact CSS with get_css; the Comment tool circles an area for Fix with agent; pairdraw check reviews a pull request's design files in CI; .pen saves design memory, statuses, and image fills; the interface is translated into Indonesian.
  • 0.21.1 — Saving or exporting lists what the chosen format could not hold (for example, draw.io's missing variables and Pencil.dev's merged pages).

Pairdraw builds also leave out peer-to-peer rooms, new boards, PowerPoint and draw.io export in the app, design issue marks on the canvas and beside layers and pages, and every usage ping or statistic.

See AI chat, exporting, and components and libraries.

Near-term work ​

Figma fidelity ​

  • Preserve and round-trip more Figma metadata safely.
  • Add visual regression coverage for full multi-page .fig documents. bun tools/generate/visual-oracles/src/cli.ts export-fixtures exports current smoke fixture pages to /tmp for manual comparison without committing large images; tests/fixtures/figma-oracles/visual-comparison-report.json records the current Figma-vs-Pairdraw oracle diff findings.
  • Close high-impact renderer gaps: remaining mask edge cases, blend isolation, pattern fills, and broader variable-font fixtures.
  • Improve boolean operation editing/export now that imported Figma BOOLEAN_OPERATION nodes remain boolean operations.

Editor depth ​

  • Complete variable inspector coverage for common numeric/text/layout fields.
  • Extend component and instance authoring with deeper override inspection and slots. Multidimensional variant definitions, text, boolean, and instance-swap property authoring, exposed nested instances, instance property editing, and component-library publish/update workflows are already supported.
  • Treat variables, styles, components, and libraries as governed design-system assets with proposal, review, publish, update, migration, and conformance workflows.
  • Complete layout-grid style parity beyond existing grid geometry controls and editable page/frame guides.
  • Extend inspection aids beyond the existing Option/Alt measurements between selected and hovered layers.
  • Expand vector editing workflows without regressing imported vector fidelity.

Reliability and international text ​

  • Make document saves atomic and recoverable, including unsaved documents created through MCP and interrupted local or remote writes.
  • Surface provider, model-budget, renderer, and automation failures with actionable recovery paths instead of silent stalls.
  • Make desktop automation recover from orphaned processes and renderer crashes without manual cleanup.
  • Prevent non-Latin font discovery and rendering crashes across platforms; add Arabic/Persian shaping and RTL layout, then broaden CJK and mixed-script visual fixtures.
  • Build a portable-font strategy for reproducible documents across machines on top of existing substitution visibility and agent-readable font status, including curated redistributable fonts, embedded or linked document fonts, and licensing metadata (#502, #503).

Cloud and self-hosting ​

  • Provide an optional Pairdraw Cloud backend for account-based workspace sync, sharing, collaboration, comments, and managed team libraries without making cloud accounts mandatory for the editor.
  • Support organizations and teams with invitations, viewer/editor/admin roles, link-sharing policies, service accounts, API tokens, and enterprise identity through standard OIDC/SSO integrations.
  • Publish documented backend APIs and webhooks for workspace, document, membership, comment, version, and automation events so Cloud and self-hosted deployments integrate with existing developer workflows.
  • Add workspace organization for projects, folders, templates, search, indexing, and server-generated previews while preserving stable document identity.
  • Extend Cloud version history, which already keeps autosaves and named versions with restore, with retention controls and an auditable record of important document and membership changes.
  • Provide a durable collaboration relay for deterministic initial sync, presence, reconnects, and restricted-network environments while keeping direct local/P2P workflows available where practical.
  • Publish a production-ready self-hosted deployment for teams that need their own storage, identity, network boundary, data location, and retention policy.
  • Make self-hosting maintainable with guided deployment, upgrades, backups, health monitoring, observability, and documented recovery procedures.
  • Provide explicit data-governance controls for export, deletion, encryption, retention, auditability, and deployment-region or residency requirements.
  • Keep AI and media capabilities BYOK so Cloud and self-hosted users connect and control their own model and provider credentials.
  • Let documents move between device-only, Pairdraw Cloud, self-hosted, and user-owned storage without losing identity or history.
  • Add explicit conflict, offline, sync-health, migration, backup, quota, and recovery UX for every remote deployment mode.

Agent workflows ​

  • Polish the official SKILL.md guidance for Pairdraw so agents use the full inspect → act → render/measure → compare → iterate loop instead of relying on one-shot prompting.
  • Publish tested AI workflow recipes for common tasks: create from prompt, edit a selected design, compare against a screenshot or Figma reference, fix visual regressions, extract tokens, and batch-migrate files.
  • Accept screenshots and reference images as first-class agent inputs, and return selection/page/viewport renders as native image content to vision-capable MCP and chat clients.
  • Support opt-in web retrieval, external MCP connectors, and sandboxed code execution through explicit capability and permission boundaries rather than granting every model ambient access.
  • Make structured node-tree diffs a first-class, Git-friendly review artifact for UI, CLI, MCP, SDK, and CI edits instead of relying only on screenshot comparisons.
  • Expand design lint findings with expected/actual evidence and safe autofixes; measure rule precision before enabling lint rules as blocking gates.
  • Keep deterministic golden renders and replayable edit-operation histories so regressions can be reproduced from document state and actions, not only from final pixels.
  • Make agent workflows measurable by default: every substantial operation should be able to produce a render, structured diff, lint result, or comparison artifact.
  • Keep MCP, CLI, and SDK operations aligned so agent skills can run the same workflow in desktop, browser, CI, or headless file mode.

Tooling and API parity ​

  • Maintain a public tool/API reference that maps editor operations to CLI commands, MCP tools, SDK APIs, and Figma Plugin API-compatible eval usage.
  • Add coverage tests that detect when a core editor capability exists in the UI but is missing from CLI/MCP/SDK, or vice versa.
  • Keep tool outputs structured enough for agents to chain safely: node IDs, bounds, diffs, render artifacts, diagnostics, and machine-readable error details.
  • Improve deterministic CLI/MCP export and comparison tools for CI.
  • Add more design linting and migration helpers for batch .fig and .pen workflows.
  • Make .pen a first-class editable save target across app, CLI, MCP, and SDK workflows rather than an import-only or automation-specific format.
  • Extend HTML, CSS, Tailwind, and JSX support from editable import and web capture (the Chrome extension, the capturer SDK, plain web HTML paste, and the desktop app's built-in browser; programmable/web-capture.md) toward direct JSX paste/edit workflows, and component-aware design↔code updates that preserve intentional code structure instead of regenerating whole files.
  • Provide an adapter contract for additional design sources such as Stitch and Pixso, prioritizing formats with documented or testable semantics over brittle UI scraping.
  • Package desktop-side MCP integration so local agent workflows do not require global installs.

Performance and scale ​

  • Incremental layout and render invalidation for large documents.
  • Better renderer profiling surfaces for slow nodes, effects, masks, and imported files.
  • Smarter raster/retained caching that preserves fidelity during zoom and pan.

Interactive shader layers ​

  • Add Unicorn Studio-style shader scenes as first-class design layers: animated gradients, particles, noise fields, metaballs, lighting, displacement, and pointer-reactive backgrounds.
  • Keep the preset gallery in front for common generative visuals, beside the GLSL editor that shader fills and effects already offer.
  • Support timeline and interaction inputs such as time, pointer position, scroll, layer bounds, colors, variables, and imported image textures.
  • Render shader layers through CanvasKit/WebGL while keeping deterministic raster export for PNG/JPG/WEBP and thumbnails.
  • Store shader layer configuration in Pairdraw documents and export graceful fallbacks when a target format cannot preserve the live effect.

Later ​

SDK and embedded editor ​

  • Expand the documented Vue SDK and core package platform with complete example applications for custom editor shells, embedded design surfaces, and automation-specific UIs.
  • Provide maintained examples for read-only previews, editable canvases, design review surfaces, and agent-controlled editors.
  • Grow the VS Code extension (extensions/vscode, VS Code), which opens .fig and .pen documents in a custom editor, toward connecting to the running editor, invoking CLI/MCP workflows, handing selections between code and canvas, and navigating between generated code and design nodes. Reuse the app, SDK, and automation bridge rather than implementing a second editor inside the extension.
  • Define public API stability and migration expectations across the reusable npm packages.
  • Keep the renderer, editor core, and tool registry framework-agnostic enough for headless and embedded use.

Product depth ​

  • Prototyping: flows and starting points, drag and key triggers, spring and custom easing, fixed and sticky scrolling layers, and AI/JSX-authorable interaction definitions on top of the Prototype section.
  • Motion: reusable code-authored animation presets, timelines, easing, and deterministic playback/export that compose with prototype interactions and shader inputs.
  • Tables and data grids: structured rows, columns, headers, resizing, merged cells, and normal scene nodes inside cells instead of drawing tables as unrelated rectangles.
  • Extend shared libraries beyond the existing component publish/consume/update workflow to broader style management and governance.
  • Platform asset libraries: use licensed system-native and third-party icon sources, including SF Symbols where platform and redistribution rules allow, alongside the existing Iconify/Lucide workflow.
  • Figma Slides (.deck) interoperability: import/export, slide editing, presentation, speaker notes, and filmstrip workflows. This ranks below core Figma Design fidelity, reliability, Cloud/self-hosting, and international-text work.
  • Platform polish: Windows code signing, PWA support, packaged updater improvements, and desktop-side MCP bundling.

Non-goals ​

  • Mandatory accounts or a cloud-only document model. Pairdraw Cloud, self-hosted backends, and user-owned remote storage must remain optional alongside local files.
  • A hosted service that requires Pairdraw to proxy users' AI provider keys; AI and media integrations remain BYOK even when a backend provides identity, sync, or collaboration.
  • Read-only automation surfaces that cannot modify documents.
  • Feature work that sacrifices .fig import/export fidelity for convenience.

This section tracks Pairdraw's current compatibility with Figma Design features. It is based on Figma's public Help Center feature areas and the current Pairdraw scene graph, Kiwi import/export, CanvasKit renderer, UI panels, CLI, and MCP tools.

Legend:

  • ✅ Supported — implemented for common files and expected to work directly.
  • ◐ Partial — implemented for important cases, but missing parity, UI, or edge-case behavior.
  • ↩ Round-trip only — imported/preserved/exported for .fig fidelity, but not rendered or editable as a first-class Pairdraw feature.
  • — Not supported — not currently modeled or intentionally out of scope.

Support tiers used for prioritization:

  1. Visual fidelity — fields that change pixels in normal design exports. These get real Figma oracle fixtures, renderer tests, and visual metrics first.
  2. Round-trip fidelity — fields that should survive read → write → Figma import but do not need Pairdraw UI/rendering yet. These need raw-preservation and invalidation tests.
  3. Product/runtime systems — prototypes, libraries, FigJam, Slides, Dev Mode, CMS/AI, and media timelines. These stay schema-only or raw-preserved until Pairdraw has matching product concepts.
  4. Unsafe/internal metadata — fields that can corrupt Figma import or overwrite user edits when stale. These are filtered or preserved only with fixture evidence.

Official Figma feature areas ​

Figma's design documentation groups features into these areas:

  • Layers, frames, groups, sections, shape layers, text, vectors, and boolean operations.
  • Fills, gradients, images, patterns, blend modes, strokes, effects, corner radius, and corner smoothing.
  • Auto layout: vertical, horizontal, wrap, grid, padding, gap, hug/fill/fixed/min/max, and ignore auto layout.
  • Components, instances, variants, component properties, slots, libraries, and library updates.
  • Variables: color, number, string, boolean, collections, modes, aliases, scopes, and prototype variables.
  • Prototyping: flows, hotspots, triggers, actions, overlays, smart animate, easing, conditionals, expressions, and variable actions.
  • Dev Mode: inspect, measurements, annotations, Code Connect, dev resources, ready-for-dev states, and Figma MCP.
  • Collaboration/file workflows: comments, version history, thumbnails, branches, library publishing, and multiplayer metadata.

Figma compatibility matrix ​

AreaImportRenderUI editExport round-tripCLI/MCPNotes
Pages / canvases✅✅✅✅✅Multi-page documents and per-page viewport are supported.
Frames✅✅✅✅✅Includes clipping and auto-layout container behavior.
Groups✅✅✅✅✅Grouping preserves visual positions.
Sections✅✅✅✅✅Section rendering and title pills are Pairdraw-specific approximations.
Rectangles / rounded rectangles✅✅✅✅✅Per-corner radii and smoothed corners render for fills, strokes, clips, masks, and effects.
Ellipses / arcs✅✅✅✅✅arcData renders and exports; the appearance section edits the arc’s start, end, sweep, and inner ratio.
Lines✅✅✅✅✅Stroke caps, joins, dashes, alignment, and miter limits render and have inspector controls.
Polygons / stars✅✅◐✅✅pointCount and starInnerRadius modeled.
Text✅✅✅✅✅Case, justification, vertical alignment, truncation/max lines, common OpenType features, and derived Figma glyph fallback are supported; uncommon typography metadata remains round-trip only.
Vectors / vector networks✅✅◐✅✅Vector edit support exists; Figma Draw tools are not fully replicated.
Boolean operations✅✅✅✅✅Figma BOOLEAN_OPERATION nodes import/export; the selection actions create a union, subtract, intersect, exclude, or flatten, and a selected group switches its operation in place from the same menu.
Components✅✅✅✅✅Component metadata, descriptions, and one documentation link are editable on a component or set and round-trip; an instance shows its main component's description read-only.
Component sets / variants✅✅◐✅✅Multidimensional variant definitions and common instance properties are editable; broader Figma-specific property parity remains incomplete.
Instances / overrides✅✅◐✅✅Component-property refs and typed assignments are modeled and editable; raw symbol overrides and derived data remain preserved for fidelity.
Slots✅✅✅✅✅Slot properties, settings, and instance slot content import, render, and round-trip. The editor creates, configures, and removes slots on main components and fills them in instances; scripts do the same through createSlot(), resetSlot(), and limitViolations.
Connectors◐◐—◐◐Type exists, but Figma connector semantics are weak.
Shape-with-text / FigJam shapes◐◐—◐◐Type exists, but not a full FigJam feature implementation.
Slices✅✅✅✅✅SLICE layers round-trip Kiwi type 14 with their export settings; S draws one, the layer list marks it, and exporting it renders the page content under its box. A slice is never drawn with its parent, and a copy inside a locked instance is refused like any other new layer.
FigJam / Slides / Code / CMS / Buzz node families↩——↩—Current Kiwi schema recognizes many newer Figma node families (TABLE, SLIDE, CODE_COMPONENT, CMS_RICH_TEXT, REPEATER, WEBPAGE, etc.), but Pairdraw only preserves/round-trips them where safe; they are not first-class scene nodes.
Solid fills✅✅✅✅✅Color variables supported for common fill cases.
Gradients✅✅✅✅✅Linear/radial/angular/diamond support; Figma edge cases may differ.
Image fills✅✅✅✅✅Fill, fit, stretch, crop, and tile are editable: the picker sets mode, tile scale, and image adjustments (exposure, contrast, saturation, temperature, tint, highlights, shadows), and Crop image edits the transform with handles. Placement follows scaleMode, scalingFactor, and +90° rotation; a crop uses imageTransform, ignoring rotation. Transforms, tile scaling, and rotation round-trip through .fig; HTML, JSX, and Tailwind keep tile repeat and crop windows (a turned tile or crop falls back to a covering image). Pixel-exact Figma comparison needs a visual oracle.

| Pattern / noise / custom fills | ✅ | ◐ | — | ✅ | — | Schema metadata imports/exports; Figma pattern fills with a referenced source node render as repeated source tiles with scale, spacing, alignment, and basic hex offsets. Noise/custom paints still render with a solid fallback pending real paint payload samples; Figma-authored noise/texture/glass effect payloads are captured separately. | | Video/GIF/media fills | ↩ | — | — | ↩ | — | Kiwi schema includes media paint/export enums, but Pairdraw has no video/GIF playback or media layer support. | | Layer/fill/effect blend modes | ✅ | ◐ | ✅ | ✅ | ✅ | Appearance, fill, and effect controls are exposed; Canvas applies common modes, while Figma isolation edge cases remain partial. | | Opacity | ✅ | ✅ | ✅ | ✅ | ✅ | Node opacity uses save layers in the renderer. | | Strokes | ✅ | ✅ | ✅ | ✅ | ✅ | Weight, alignment, dashes, and side weights are supported. | | Stroke caps / joins / miter limit | ✅ | ✅ | ✅ | ✅ | ✅ | Inspector controls support mixed cap/join/miter editing; CanvasKit rendering and .fig roundtrips preserve miter limits. | | Effects: shadows and blurs | ✅ | ✅ | ✅ | ✅ | ✅ | showShadowBehindNode is rendered but not exposed in UI. | | Effects: noise and texture | ✅ | ◐ | ✅ | ✅ | ✅ | Noise and texture are modelled, edited, written to .fig, drawn on the canvas from Figma's measured grain statistics over cached tiles, and exported to SVG as Figma does. The canvas does not measure each pixel's coverage, so a frame's grain shows across its box, and Figma's own generator is not public. | | Fill / stroke / effect styles | ✅ | ✅ | ◐ | ✅ | ✅ | Imported local definitions are modeled, selectable, undo-safely detachable, and editable from the picker: name, description, and the first solid paint or effect radius re-apply to linked layers in one undo. The fill, stroke, and effect sections create a local style from the current value; publishing to a library still needs a workflow. | | Corner radius | ✅ | ✅ | ✅ | ✅ | ✅ | Uniform and independent radii supported. | | Corner smoothing | ✅ | ✅ | ✅ | ✅ | ✅ | The inspector supports mixed smoothing percentages with undo; uniform and independent-radius corners render, while exact Figma parity still needs broader fixture tuning. | | Masks | ✅ | ◐ | ✅ | ✅ | ✅ | Figma schema mask, maskType, and maskIsOutline fields import and export; common sibling alpha/vector/luminance mask stacks render, including consecutive mask layers, and the selection action and mask section toggle a mask and pick its type. Deeper Figma masking edge cases remain incomplete. | | Auto layout: vertical/horizontal | ✅ | ✅ | ✅ | ✅ | ✅ | Yoga-backed layout. | | Auto layout: wrap | ✅ | ✅ | ✅ | ✅ | ✅ | UI toggle exists. | | Auto layout: grid | ✅ | ◐ | ◐ | ✅ | ✅ | Tracks, spans, gaps, and a child's horizontal and vertical cell alignment are editable and round-trip through .fig; Figma's auto-track setting stays raw-preserved because it only changes how Figma adds rows while editing, and a save keeps a file's own value. | | Padding / gaps / alignment | ✅ | ✅ | ✅ | ✅ | ✅ | Common flex controls are exposed. | | Hug / fill / fixed sizing | ✅ | ✅ | ✅ | ✅ | ✅ | Min/max support is partial in UI. | | Ignore auto layout / absolute positioning | ✅ | ✅ | ✅ | ✅ | ✅ | Mode is modeled, and the layout section toggles absolute positioning for a layer in an auto layout frame. | | Strokes included in layout | ✅ | ◐ | ✅ | ✅ | ✅ | Stored and exported and used in layout paths; the layout section edits it. | | Reverse z-index / align-content | ✅ | ◐ | ✅ | ✅ | ✅ | Modeled and exported; the layout section edits canvas stacking and wrap alignment. | | Constraints | ✅ | ◐ | ✅ | ✅ | ✅ | Horizontal and vertical pin, center, stretch, and scale modes are editable, and a child stopped by its own min/max width or height keeps the edge its constraint pins. Odd, fractional, and past-zero resizes are pinned to Figma desktop values. A 4,200-pair sample of direct children of resized instances in material3.fig follows the stored boxes for pin, center, stretch, and scale, except vector children whose stored path geometry differs from the component's; text reflow, rotation, min/max authored in Figma, and a locked aspect ratio combined with a limit remain unverified. | | Layout grids / guides | ✅ | ✅ | ◐ | ✅ | ✅ | Layout-grid geometry and page/frame guides are editable, including guide creation, movement, duplication, transfer, and removal, and a local grid style can be created, picked, and renamed from its picker. Editing every grid field and publishing still needs a full style manager. | | Text styles | ✅ | ✅ | ◐ | ✅ | ✅ | Imported local text styles are modeled, selectable, undo-safely detachable, and editable from the picker: name, description, and font size re-apply to linked text in one undo. The typography section creates a local text style from the layer; publishing still needs a library workflow. | | Rich style runs | ✅ | ✅ | ◐ | ✅ | ✅ | Import, render, and export support; the panel shows each row’s effective value across runs and edits the whole layer, while styling a character range is tool-only (set_text_range_style). | | Text auto resize | ✅ | ✅ | ✅ | ✅ | ✅ | The layout section chooses auto width, auto height, or fixed size; a fixed box owns truncation and maximum lines in the typography section. A truncating text reads as fixed, as its box keeps the size it has. | | Text truncation / max lines | ✅ | ✅ | ✅ | ✅ | ✅ | Ending truncation and maximum-line controls are available in the inspector. | | Text case | ✅ | ◐ | ✅ | ✅ | ✅ | Original, upper, lower, and title case are editable; broader render parity still needs fixtures. | | Vertical text alignment | ✅ | ◐ | ✅ | ✅ | ✅ | Top, center, and bottom alignment are editable; imported edge-case parity needs more coverage. | | Justified text | ✅ | ◐ | ✅ | ✅ | ✅ | The typography inspector exposes it. justify-parity.test.ts pins the layout: wrapped lines fill the box; the last line of a paragraph (text end or a hard break) stays at its start; single-word lines are not stretched; auto-width boxes keep their content width, measured but not pinned; RTL starts at the right edge; letter spacing, mixed runs, list indents, and a truncated last line keep their gaps. Figma's help page states the rule without naming the last-line exception (unverified), and no justified .fig fixture exists to compare imported derived glyphs. | | Font variations / OpenType features | ✅ | ✅ | ✅ | ✅ | — | Imported fontVariations, common ligature/caps/numeric OpenType fields, and raw toggledOnOTFeatures / toggledOffOTFeatures are applied to CanvasKit text styles and exported; the text panel exposes a field and slider per variable axis (with optical size Auto) and the font’s OpenType switches, for whole layers and character ranges. | | Variables: collections/modes/aliases | ✅ | ◐ | ✅ | ✅ | ✅ | Color/number/string/boolean model exists. The token panel creates and renames collections, adds and removes modes, imports tokens, and edits values and aliases; render parity for every token kind is still partial. | | Variables bound to fills/strokes | ✅ | ✅ | ✅ | ✅ | ✅ | Common color bindings render and edit. | | Variables bound to text/layout/visibility/effects | ◐ | ◐ | ◐ | ◐ | ✅ | Text content and numeric layout bindings resolve on read; colour, numeric, text, font-family, and visibility bindings re-resolve when a variable or mode changes. Effect bindings (effects/<i> radius, spread, x, y, and colour) and layout-grid bindings import from Figma’s own aliases, render, export, and bind from the effect, shadow-colour, and grid fields; prototype bindings are not modeled. | | Variables in prototypes / expressions / conditionals | ✅ | ✅ | ✅ | ◐ | ✅ | Set variable (literal, variable reference, or expression), Change mode, and Conditional (if / else-if / else) actions round-trip through .fig, are edited in the Prototype section, and run in Play and video export on a session-only value and mode overlay that never writes back to the document. Each conditional branch runs every nested action in its taken branch in order, and the panel edits a destination frame per branch. The evaluator computes arithmetic, comparison, logic, string conversion, ternary, and colour composition; expression functions outside that set, variable-bound prototype triggers, and variables backing image/media are not covered. | | Libraries / publish / update review | ↩ | — | ◐ | ↩ | — | Figma library metadata survives round-trip. Pairdraw supports its own component-library publishing, catalogs, revision previews, and linked-instance updates, not synchronization with Figma-hosted libraries. | | Prototype flows / starting points | — | — | — | — | — | Not modeled. | | Prototype hotspots / triggers / actions | ◐ | ◐ | ◐ | ✅ | ◐ | Click, hover, press, mouse enter/leave, and after-delay triggers that navigate, open or close an overlay, go back, change a variant, or scroll to a layer are edited, drawn, played, and set by set_reactions. A mouse enter/leave delay is written to .fig when it is above zero and removed when it is cleared, and a delay already in the file survives an unrelated edit. | | Prototype overlays / scroll-to | ◐ | ◐ | ◐ | ✅ | ◐ | Overlays open at a position and close; Scroll to and overflow scrolling (scrollDirection) play, as do fixed and sticky layers (scrollBehavior); extraScrollOffset survives a round trip but does not play. | | Smart animate / easing / spring / duration | ◐ | ◐ | ◐ | ✅ | ◐ | Instant, dissolve, and Smart animate play with a duration and Figma's bezier presets (including Back), spring presets, and custom bezier/spring curves, in Play and video export; the Quick/Bouncy/Slow mapping of SPRING_PRESET_ONE/TWO/THREE and the preset spring parameters are guesses until compared with live Figma, an edited custom spring keeps the file's duration because Figma derives it from the spring (not refitted yet), and a spring dissolve snapshot in the app eases out because the browser baseline predates CSS linear(). Smart animate moves matching layers' position, size, rotation, opacity, radii, and solid fills. HOLD belongs to Figma Motion, not prototype transitions; the legacy SPRING enum aliases GENTLE. | | Interactive components | ✅ | ✅ | ✅ | ✅ | ✅ | Change to between variants (SWAP_STATE), set once on the main component and played per instance on a private copy of the frame; Pairdraw's own behaviours also run components as Reka UI controls in preview. | | Dev Mode inspect / measurements / annotations | — | ◐ | ◐ | — | ◐ | Pairdraw models annotations (Markdown note, category, pinned properties), annotations categories, and measurements, shows them from View › Annotations, edits notes in the properties panel, and round-trips them through .fig and the plugin API; Figma's full Dev Mode UI is still out of scope. | | Code Connect / dev resources / ready-for-dev | ↩ | — | ◐ | ↩ | ◐ | Figma’s devStatus (Ready for dev, Completed) maps to Pairdraw statuses and is set through the plugin API and status actions; Code Connect and dev resource links are not modeled; annotations are (see the row above). | | Comments | — | ✅ | ✅ | — | ✅ | Pairdraw's own comment threads, kept in its plugin data on the document node so they travel in the .fig file; Figma's comments are not in .fig files. | | Version history / branches | — | — | ◐ | — | — | Pairdraw Cloud keeps versions of Cloud documents; Figma's version history and branches are not read. | | Real-time collaboration | — | ✅ | ✅ | — | — | Pairdraw's own CRDT sync for Cloud documents and agent presence, not Figma-compatible metadata; peer-to-peer rooms are off in Pairdraw builds. |

Raw Kiwi metadata coverage ​

Pairdraw deliberately preserves many Figma/Kiwi fields even when they are not rendered or editable. These live under SceneNode.source.fig and are applied late during .fig export. A schema coverage test compares the current fig.kiwi NodeChange fields against modeled codec fields, raw-preserved fields, and intentionally schema-only metadata buckets so drift stays visible.

Field groupImport/exportRenderUIFidelity impact
source.fig.rawSize✅Indirect—Preserves original Figma size for round-trip. Cleared when size is edited.
source.fig.rawTransform✅Indirect—Preserves exact Figma transform. Cleared when transform is edited.
source.fig.rawNodeFields✅Mixed—Late-applied to exported NodeChange for round-trip fidelity; modeled edits invalidate only matching stale raw fields, while unrelated prototype/library metadata survives. Raw-field and schema coverage tests guard preservation drift.
source.fig.layout✅✅◐Preserves original Figma stack metadata while using normalized layout fields.
source.fig.symbolOverrides✅Indirect—Important for instance override fidelity.
source.fig.componentPropAssignments✅Indirect◐Used for component property fidelity; not raw-editable.
source.fig.derivedSymbolData✅Indirect—Critical for instance-derived geometry/layout/text.
source.fig.derivedSymbolDataLayoutVersion✅——Figma bookkeeping.
source.fig.uniformScaleFactor✅Indirect—Important for scaled instances.
Style IDs: fill/stroke/text/effect/grid↩——Preserves style linkage for Figma; the panel creates and picks local styles, while editing or publishing shared definitions still needs a style manager.
Component property refs/defs/specs✅Indirect◐Text, boolean, and instance-swap properties, their links, and exposed nested instances (propsAreBubbled) are authored in the panel.
State-group metadata↩——Preserved only.
Version/sort/publish/library metadata↩—◐Figma metadata is preserved; Pairdraw's component-library publish/update workflow uses its own stable asset identities and revision review.
Variable and parameter consumption maps✅◐◐Filtered/preserved for safe round-trip; normalized bindings cover common cases.
Page fields: background, page type, guides↩◐◐Background color, background paints, page type, and guides round-trip for imported pages. Normalized page/frame guides render as overlays and support undoable editing.
Text internals: textData, layout versions, font version, derived data✅✅—Important for text fidelity; most internals are not editable. Imported derived text data, leading trim, decoration style, underline decoration paint/offset/thickness/skip-ink, semantic font metadata, and raw OpenType feature toggles are preserved for round-trip when safe; decoration style/thickness/color and leading trim now render through CanvasKit, and raster export bounds account for decoration overflow.
fontVariations✅✅—Variable font axes are imported, rendered, and exported for text nodes and style runs.
Raw paint/effect/vector/geometry payloads✅✅◐Converted fields render; raw payloads preserve Figma import/export details, including mask, background paint, layout grid, export setting, and prototype interaction metadata where safe.

Highest-priority visual gaps ​

These are parsed or visible in Figma docs and most likely to cause visible differences in real design files:

  1. Masks — tune remaining exact Figma stack semantics beyond common alpha/vector/luminance and consecutive-mask paths. tests/fixtures/figma-oracles/masks.json records live Figma API values for alpha, vector, and luminance masks.
  2. Corner smoothing — expand Figma fixture comparisons and tune remaining stroke/effect edge cases.
  3. Pattern/noise/custom fills — tune first-class pattern rendering for nested/effectful pattern sources and exact Figma hex spacing. tests/fixtures/figma-oracles/pattern-noise-custom-paints.json captures a real async Figma PATTERN payload and Figma-authored noise/texture/glass effect payloads; real NOISE / CUSTOM paint payloads remain blocked on Figma-authored samples.
  4. Variable-font and rich text fixtures — broaden real-file coverage for variable axes, derived text data, leading trim, decoration style, underline offset/skip-ink, semantic font metadata, and raw OpenType feature metadata; tests/fixtures/figma-oracles/rich-text-decoration.json captures the first live Figma rich-text oracle.
  5. Boolean operation editing — improve inspector/tooling workflows for imported boolean-operation nodes.
  6. Layout grids and guides — broaden grid-style parity and Figma edge-case coverage; common grid geometry and page/frame guide editing are already supported.
  7. Full component property and slot workflows — support authoring, not just preserving imported payloads.
  8. Prototype/media/interaction metadata — schema now includes more interaction, media runtime, animation, and slide fields; start by preserving flows/connections/runtime metadata before building playback.

Code map ​

ConcernFiles
Scene graph fieldspackages/scene-graph/src/types.ts
Source edit trackingpackages/scene-graph/src/source-metadata.ts
.fig metadata policypackages/fig/src/source-metadata.ts
Kiwi import mappingpackages/fig/src/node-change/convert.ts
Kiwi export mappingpackages/fig/src/node-change/export/node.ts, packages/fig/src/node-change/serialize.ts
Kiwi schemapackages/kiwi/src/fig/schema/fig.kiwi, tests/engine/io/fig/import/schema-coverage.test.ts
Renderer dispatchpackages/core/src/canvas/scene.ts
Fills / images / gradientspackages/core/src/canvas/fills.ts
Strokespackages/core/src/canvas/strokes.ts
Effects / shadowspackages/core/src/canvas/shadows.ts
Text renderingpackages/core/src/canvas/text/** (derived data in text/derived.ts)
Layout enginepackages/core/src/layout/**
Property panelssrc/components/properties/**, packages/vue/src/controls/**
CLIpackages/cli/src/index.ts, packages/cli/src/commands/**
MCP/toolspackages/core/src/tools/**, packages/mcp/src/tool/registration.ts

Released under the MIT License.