OpenFig
MIT License · v0.3.17 on npm

Open-source tools
for Figma files

Parse and render Figma .fig and .deck files programmatically.

$ npm install openfig-cli
View on GitHub
Why use PowerPoint when you can have Figma Slides?
📐

Parse .fig files

Read Figma's binary format directly. Extract nodes, styles, components, and layout data without the API.

🎞️

Render .deck files

Programmatically create and render Figma Slides presentations as images, ready for export.

CLI + library

Use as a command-line tool or import directly into Node.js projects. ESM-native, no bundler required.

🤖

Let Claude build your deck

Use the Claude Cowork plugin to create and edit Figma Slides presentations through natural conversation.

Simple API, powerful results
example.mjs
import { loadDeck } from 'openfig-cli';

// Load a Figma Slides .deck file
const deck = await loadDeck('presentation.deck');

// Slides are 1-indexed
const slide = deck.getSlide(1);
console.log(`Title: ${slide.title}`);
console.log(`Slides: ${deck.slideCount}`);

// Render to PNG
const png = await slide.render();
await fs.promises.writeFile('slide-1.png', png);
Build presentations with AI
✦ Figma Slides Creator

Create slides with natural language

The OpenFig Claude Cowork plugin lets you create and edit Figma Slides presentations through conversation. Describe what you want — the AI builds it, powered by OpenFig under the hood.

Install from GitHub marketplace
🎨