Open Source · Free · No Server Required

Import Pencil.dev designs
into Figma — instantly

Drop a .pen file from pen.dev (formerly Pencil.dev) into the plugin, pick what to import, and get editable Figma layers with auto layout, components and fonts intact.

Pencil to Figma
P
→
F
Pencil to Figma
Import a pen.dev design into Figma
as editable layers.
📂
Drop a .pen file or its folder
or click to browse
Supports .pen format up to 2.26

How it works

Three steps. No accounts, no servers, no subscriptions.

1
🔌

Open the plugin in Figma

Install from the Figma Community and run it from Plugins menu — works in any Figma file.

2
📂

Upload your .pen file

Drag and drop your .pen file — or its whole folder, to include local images. Nothing is uploaded; everything stays local.

3
✓

Pick what to import

Choose the screens you want and confirm the fonts. The plugin builds editable frames on a page named after your file.

What gets imported

Built against the official .pen format, version 2.26.

⚡

Auto Layout

Flex layout — direction, gap, padding, justify, align, fill_container and fit_content — maps directly to Figma Auto Layout, including absolutely positioned children.

🧩

Components & Instances

Reusable objects become Figma components, and every ref becomes a linked instance with its overrides applied — nested instances included. Variants become component sets.

🎛

Variables & Themes

$variable references are resolved per theme, so a frame set to dark mode arrives in Figma with its dark values.

🔤

Font Check

Fonts are compared with what Figma has before anything is created. You choose replacements for missing ones, and every substitution is listed afterwards.

🖼

Images & Icons

Local and remote images are loaded with crops and fit modes; SVG and WebP are converted on the fly. Lucide, Feather, Phosphor and Material Symbols icons arrive as vectors.

🎨

Fills, Strokes & Effects

Solid, image, linear, radial and angular fills with blend modes; per-side strokes, dashes, caps and joins; shadows and blurs.

✏️

Real Vectors

SVG path geometry — arcs, relative and shorthand commands included — is converted to editable Figma vectors at the right size.

🗂

Pages & Old Files

Multi-page documents import page by page. Files saved by older versions of the app are upgraded automatically.

🔒

No Server Required

Everything runs inside Figma. Your designs never leave your machine. No API keys, no subscriptions, no rate limits.

Open Source

Built in the open.
Contributions welcome.

This plugin exists because pen.dev designs deserve a first-class Figma importer. If you've hit an edge case, want to add a node type, or have ideas to improve layout fidelity — open an issue or PR. Every contribution makes it better for everyone.

🐛 Report a bug or edge case
➕ Add support for a missing node type
🔧 Improve auto-layout or gradient fidelity
Contributing

# Clone the repo

git clone github.com/gui-uxdoccom/pencildev-to-figma

 

# Install deps & build

npm install

npm test # no Figma needed

npm run build

 

# Load manifest.json in Figma

# Plugins → Development → Import...

 

$ _