All Projects → panoplied → Figma-Plugin-Webpack-React-Template

panoplied / Figma-Plugin-Webpack-React-Template

Licence: AGPL-3.0 license
Base for building Figma plugins with React

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects
typescript
32286 projects
HTML
75241 projects

Projects that are alternatives of or similar to Figma-Plugin-Webpack-React-Template

figma-dev
Build figma plugins with a modern toolchain
Stars: ✭ 15 (-6.25%)
Mutual labels:  figma, figma-plugins
figma-plus-advanced-rename-plugin
A better and more powerful batch rename plugin for Figma with a dozen of options
Stars: ✭ 28 (+75%)
Mutual labels:  figma, figma-plugins
figma-walker
Walkthrough your project without lifting your keyboard / Figma Plugin
Stars: ✭ 45 (+181.25%)
Mutual labels:  figma, figma-plugins
figma-api-stub
🤖 A stub implementation of Figma Plugins API.
Stars: ✭ 33 (+106.25%)
Mutual labels:  figma, figma-plugins
React Figma
⚛️ A React renderer for Figma
Stars: ✭ 1,830 (+11337.5%)
Mutual labels:  figma, figma-plugins
Figmatocode
Generate responsive pages and apps on HTML, Tailwind, Flutter and SwiftUI.
Stars: ✭ 2,299 (+14268.75%)
Mutual labels:  figma, figma-plugins
figma-plugins-stats
📈 A CLI to get live and historical stats for your Figma plugins
Stars: ✭ 53 (+231.25%)
Mutual labels:  figma, figma-plugins
figma-messenger
Type-safe communication for good 🧐.
Stars: ✭ 24 (+50%)
Mutual labels:  figma, figma-plugins
Figma-Vue3-Template
Plugin template for Figma using Vue3
Stars: ✭ 19 (+18.75%)
Mutual labels:  figma, figma-plugins
styled-system-figma
Generate theme.js from Figma file
Stars: ✭ 26 (+62.5%)
Mutual labels:  figma
Figma-to-HTML
Figma to HTML/React and truly responsive
Stars: ✭ 27 (+68.75%)
Mutual labels:  figma
figma-export
Export tool for Figma. You can easily and automatically export your Figma components and use them directly into your website.
Stars: ✭ 99 (+518.75%)
Mutual labels:  figma
storybook-addon-grid
⚜️ Column guides that help you align your stories
Stars: ✭ 17 (+6.25%)
Mutual labels:  figma
microsoft-figma
Produce sass/less variables files from figma
Stars: ✭ 18 (+12.5%)
Mutual labels:  figma
figma-responsify
⚡️A Figma plugin to quickly test your designs across multiple device sizes.
Stars: ✭ 51 (+218.75%)
Mutual labels:  figma
designfactory-app
A project that generates pdf documents from design templates from Figma + your own data via the GUI or REST API.
Stars: ✭ 30 (+87.5%)
Mutual labels:  figma
Figicons
📦 150+ packaged & ready icons, designed in Figma. Ships with support for custom line icons.
Stars: ✭ 20 (+25%)
Mutual labels:  figma
assistant
🤖 Bring your Figma design & development pipeline to the next level - with design to code, in-design-content-management, component management, tools for faster design
Stars: ✭ 451 (+2718.75%)
Mutual labels:  figma
iconoir
A Simple and Definitive Open-Source Icons Library
Stars: ✭ 2,429 (+15081.25%)
Mutual labels:  figma
figma-preview-swiftui
Figma component preview for your SwiftUI views
Stars: ✭ 51 (+218.75%)
Mutual labels:  figma

Figma-Plugin-Webpack-React-Template

Base for building Figma API plugins with UI on React.

Plugin Screenshot

Webpack in this template actually works with React and inlines images into the bundle correctly unlike the buggy one you can make by following step-by-step guide from the official Figma API doc manual.

Don't forget to update your manifest.json to change the name and id of your plugin and to load it into Figma's plugin interface.

Bundling is set as usual in package.json.

First:

npm install

Then make your stuff and run webpack scripts.

For dev build (doesn't track changes yet, for now you should build with the command every time):

npm run start

For production build:

npm run build

code.ts is the sandbox for plugin code in TypeScript.

ui.js is the entry point for UI on React or any other JS code.

You can set the project's UI to be made in TypeScript also by providing ui.tsx instead of ui.js. In that case don't forget to change the ui entry point in webpack.config.js accordingly. tsconfig is already set to compile React code and Webpack's ts-loader is also set in config.

url-loader is set to work with .svg and .png only. Keep in mind that you should manually add your required file types and set the limit for you purposes in webpack.config.js.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].