Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

react-figma/figma-api-stub

Repository files navigation

Figma API Stub

npm version CircleCI

A stub implementation of Figma Plugins API.

import {createFigma} from "figma-api-stub";
const figma = createFigma();
const rect = figma.createRectangle();
rect.resize(100, 200);

⚠️ Warning! It's not an official implementation, and it hasn't the purpose to fully reproduce Figma behavior and API.


Installation

Install it with yarn:

yarn add figma-api-stub

Or with npm:

npm i figma-api-stub --save

API

Stub api creation

createFigma(): PluginAPI

Used by

About

🤖 A stub implementation of Figma Plugins API.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 10

AltStyle によって変換されたページ (->オリジナル) /