Skip to content

FigDU is your all-in-one toolkit for creating powerful Figma plugins, base on React and Chakra UI.

License

Notifications You must be signed in to change notification settings

rafihaidari/figdu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FigDU Logo

FigDU - Figma Developer Utility

FOSSA Status FOSSA Status

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.


Repository & Website


Quick Start

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.


Features

  • 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.

Getting Started

  1. Create a new project:

    npx create-figdu
  2. Navigate to your project directory:

    cd your-figdu-project
  3. Build your project:

    • For a one-time build, run:
      npm run build
    • To watch for changes and rebuild automatically, run:
      npm run watch
  4. Open Figma:

    • Go to the Plugins menu in Figma.
    • Select Development > Import plugin from manifest.
    • Choose the manifest.json file in your project directory.
  5. 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.

Building for Production

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.


Why React and Chakra UI?

  • 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.


Contributing

We welcome contributions! If you'd like to improve FigDU, please drop an email: [email protected]


License

FigDU is open-source and licensed under the MIT License. See the LICENSE file for more details.


FOSSA Status

Acknowledgments

  • Built with ❤️ in Germany.

Happy plugin building! 🚀

About

FigDU is your all-in-one toolkit for creating powerful Figma plugins, base on React and Chakra UI.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published