Build a Python desktop app UI in Figma without writing any layout code, then auto-generate the Python file with one command.
Create a multi-screen desktop app by designing several frames in a single Figma file and generating navigation code between them.
Wrap the generated Tkinter code in the class-based template to cleanly attach button click handlers and form logic.
Requires a Figma account and a personal Figma API token, Python 3.9 or newer must already be installed on your machine.
Tkinter Designer is a Python tool that converts visual designs made in Figma into working Python desktop app code. Figma is a popular browser-based design tool where you can drag and drop buttons, text fields, images, and other interface elements to build the look of an app without writing code. Tkinter is the built-in GUI library that comes with Python. Tkinter Designer bridges the two: you design in Figma, then Tkinter Designer generates the Python code that recreates that design as a runnable desktop application. The workflow is: design your app interface in Figma, copy the Figma file URL and your Figma API token, then run the tkdesigner command-line tool with those two values. The tool calls the Figma API, reads your design, and writes out a Python file plus any image assets needed to reproduce the layout. You can then run that generated file as a standard Python application. The tool supports a few output templates. The default produces a straightforward Python script. A class-based template wraps the generated code in a class, which makes it easier to connect your own logic to the buttons and inputs. A pages template handles designs with multiple frames and generates navigation between them. There is also an option to apply a visual theme to the generated app. You need Python 3.9 or newer and install the tool with pip install tkdesigner. Designs with multiple frames in a single Figma file are supported, Tkinter Designer generates code for each frame separately. The project is open source and accepts community contributions. Examples of apps built with it are shown in the README, and the creator maintains a Discord server for users.
← parthjadhav on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.