Powerset is a powerful Figma plugin that renders all permutations of a selected instance based on the values of its variant properties. It's an invaluable tool for QA-ing your component library definitions or showcasing its permutations.
- Permutation Rendering: Generate all possible combinations of a selected instance.
- Component Library QA: Ensure your component library is robust and covers all possible scenarios.
- Showcase Variants: Easily demonstrate the versatility of your components.
Follow these steps to get the plugin up and running:
- Clone this repository to your local machine.
- Run
npm i
in the project directory to install dependencies. - Run
npm run build:watch
to start webpack in watch mode. - Open Figma, navigate to
Plugins
->Development
->Import plugin from manifest...
and choose themanifest.json
file from this repo.
To modify the UI of the plugin, make changes within the src/app
directory. The entry point for the UI is App.tsx.
To alter Messaging and Rendering in Figma, edit files within the src/plugin
directory. The entry point for this is controller.ts.
For more information on how to work with the Figma API, refer to the Figma API Overview.
This project uses the following tools and technologies:
- React + Webpack for UI development.
- TypeScript for type safety.
- Prettier precommit hook for code formatting.
We welcome contributions to Powerset! Please review our contribution guidelines before getting started.
This project is licensed under the terms of the MIT license.