FigDU is your all-in-one toolkit for creating powerful Figma plugins made by developers for developers. Build your Figma plugins with ease and stop worrying about configuration files and the odd peculiarities of building for Figma.
With FigDU, you can focus on creating amazing plugins for Figma while we handle the boilerplate, build process, and tooling. Whether you're a seasoned developer or just getting started, FigDU makes Figma plugin development a breeze.
- GitHub Repository: https://github.com/rafihaidari/figdu
- Website: https://figdu.com
To create a new FigDU project, run the following command:
npx create-figdu
or
npm create figdu
This will set up a new FigDU project in your current directory with all the necessary files and configurations.
- Zero-config setup: Start building your Figma plugin immediately without worrying about configuration files.
- Built-in React support: Build your plugin UI with React, the most popular front-end library.
- Chakra UI integration: Create beautiful, responsive UIs with Chakra UI's pre-built components.
- Hot Reload: See your changes in real-time as you develop your plugin.
- Figma API Helpers: Pre-configured utilities to interact with the Figma API seamlessly.
- Plugin Manifest Generator: Automatically generate the
manifest.json
file for your plugin. - Optimized Build Process: Production-ready builds with minification and bundling.
-
Create a new project:
npx create-figdu
-
Navigate to your project directory:
cd your-figdu-project
-
Build your project:
- For a one-time build, run:
npm run build
- To watch for changes and rebuild automatically, run:
npm run watch
- For a one-time build, run:
-
Open Figma:
- Go to the Plugins menu in Figma.
- Select Development > Import plugin from manifest.
- Choose the
manifest.json
file in your project directory.
-
Start coding:
- Edit the
src
folder to build your plugin. - Use React and Chakra UI to create stunning plugin UIs.
- FigDU will automatically reload your plugin as you make changes.
- Edit the
When you're ready to ship your plugin, run:
npm run build
This will generate an optimized production build in the dist
folder. You can then package and publish your plugin to the Figma Plugin Store.
- React: A powerful and flexible library for building user interfaces. With React, you can create reusable components and manage state efficiently.
- Chakra UI: A simple, modular, and accessible component library that provides pre-built, customizable components to speed up your development process.
Together, React and Chakra UI make it easy to build beautiful, responsive, and maintainable UIs for your Figma plugins.
We welcome contributions! If you'd like to improve FigDU, please drop an email: [email protected]
FigDU is open-source and licensed under the MIT License. See the LICENSE file for more details.
- Built with ❤️ in Germany.
Happy plugin building! 🚀