Recreating a $300/month tool. Full source code for a Figma-to-ImGui exporter that parses .fig files directly and generates pixel-perfect Dear ImGui C++ code. Shadows, gradients, shading, and animations — all exported automatically. No manual UI coding required.
You design in Figma. You export the .fig file. You run the parser. You paste the generated C++ into your project. Done.
What's Included?
.fig File Parser- Reads .fig files directly — no Figma API access required, no internet connection needed
- Parses the internal binary format: frames, components, groups, and individual nodes
- Extracts vectors, shapes, text layers, and embedded images
- Handles auto-layout and constraint systems from Figma
- Processes nested components and component instances
- Works offline, no API rate limits, no personal access tokens
Dear ImGui Code Generation- Generates ready-to-compile C++ code using Dear ImGui APIs
- 1:1 pixel-perfect reproduction of Figma layout
- Absolute positioning with proper window padding and frame offsets
- Text layers with exact font sizes, colors, weights, and alignments
- Button, checkbox, slider, and input field generation from Figma component names
- Image and texture loading with UV coordinate mapping
Shadows & Shading- Drop shadows: offset, blur radius, and color extracted from Figma effects
- Inner shadows for inset styling
- Layer blur and background blur effects translated to ImGui draw calls
- Gradient fills: linear and radial gradients mapped to ImGui vertex buffers
- Opacity and blend modes preserved
Animations- Figma Smart Animate transitions exported as interpolated ImGui animation loops
- Frame transitions with configurable duration and easing curves
- Hover states, click states, and active states generated from Figma prototyping
- Floating, sliding, and fade-in animations
- Optional: exports animation metadata for integration with your own tweening system
Export Options- Single frame export: one ImGui window from one Figma frame
- Multi-frame export: full flow with navigation between screens
- Component library export: reusable ImGui widgets from Figma components
- Asset bundling: images, fonts, and textures exported alongside C++ code
- Customizable prefix and namespace for generated code
Workflow- Design your UI in Figma using standard design practices
- Export the .fig file from Figma
- Run the parser on the .fig file
- Generated code is written to a .cpp/.h file pair
- Copy the files into your ImGui project
- Compile and run — the UI renders exactly as designed
Pricing
Lifetime License — €599 (first hand, then raised)
Full source code. One year of updates. No recurring fees.
Deliverables- Exporter source code
- Native .fig file parser (no API dependency)
- ImGui code generation engine
- Shadow/shading/gradient rendering helpers
- Animation interpolation system
- Asset bundling utilities
- Setup documentation
- Personal support
Technical Stack
Exporter: C++ or Python (source code delivered)
Parser: Native .fig binary format reader (offline, no API calls)
Output: Dear ImGui C++ code (.cpp / .h)
Dependencies: zlib (decompression), nlohmann/json (node tree parsing), stb_image (texture loading)
Runtime: Dear ImGui + your existing renderer (OpenGL, DirectX, Vulkan)
Comparison
Existing SaaS tools charge $300/month for this functionality. This source gives you the same capability forever. You own it. You modify it. You host it. No monthly subscription.
FAQ
Q: Does this work with custom ImGui themes?
A: Yes. The generated code uses raw ImGui draw calls and colors extracted from Figma. It does not depend on your existing theme. You can overlay the generated UI on top of your styled ImGui context.
Q: Can I export animated transitions?
A: Yes. Figma prototyping links with Smart Animate are exported as animation loops. Simple easing curves (ease-in, ease-out, linear) are supported. Complex spring physics are approximated.
Q: Does this work offline?
A: Yes. The parser reads the .fig file directly. No internet connection, no Figma API access, and no personal access tokens are required. You can generate ImGui code on an air-gapped machine.
Q: Does this work with Figma plugins or third-party components?
A: Basic shapes, frames, and text from Figma plugins are exported if the plugin stores standard Figma node data. Proprietary plugin formats may not render correctly.
Q: Can I sell tools using this exporter?
A: The license covers use in your own projects. Using the exporter to generate UI for a commercial tool you sell is permitted. Reselling the exporter itself is not. Although I would have 0 idea if you did, so go nuts!
Terms
- No refunds on digital source code sales.
- No resale of the source code as a standalone product.
- Support is provided personally through telegram
- Updates are provided for one year from the purchase date. Bug fixes are pushed as patches. Feature requests are evaluated but not guaranteed.
Contact & Purchase
Telegram: @vxpaid
DM for payment details, source details or other services details.
Serious inquires only.
You can negotiate, if you want