nirsky / figma-plugin-react-template

Quickstart your Figma Plugin with this template and tooling.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Figma Plugin React Template

62862431-71537f00-bd0e-11e9-85db-d97c0fb729a4

This template contains the react example as shown on Figma Docs, with some structural changes and extra tooling.

Quickstart

  • Run yarn to install dependencies.
  • Run yarn build:watch to start webpack in watch mode.
  • Open Figma -> Plugins -> Development -> Import plugin from manifest... and choose manifest.json file from this repo.

⭐ To change the UI of your plugin (the react code), start editing App.tsx.
⭐ To interact with the Figma API edit controller.ts.
⭐ Read more on the Figma API Overview.

Toolings

This repo is using:

  • React + Webpack
  • TypeScript
  • Prettier precommit hook

About

Quickstart your Figma Plugin with this template and tooling.

License:MIT License


Languages

Language:TypeScript 48.6%Language:JavaScript 36.8%Language:CSS 14.0%Language:HTML 0.6%