Skip to content
SiteEmail

The Coherent Gameface Exporter is an official Figma plugin that converts design frames into Gameface-compatible HTML and CSS. It is designed to reduce boilerplate - giving developers a structural starting point from the design file - rather than generating a complete, production-ready UI.

The exporter reads a selected Figma frame and outputs:

  • HTML structure matching the frame’s layer hierarchy.
  • CSS with layout properties (flexbox/absolute positioning), colors, typography, and basic sizing.
  • Exported raster assets for image layers.

The output gives you a head start on the HTML/CSS scaffolding that would otherwise need to be written by hand. From there, a developer takes the output and completes the integration: wiring up data bindings, adding interactivity, and adjusting styles for Gameface-specific behavior.

  1. Open Figma and navigate to the Coherent Gameface Exporter plugin page in the Figma Community.

  2. Click Open in… and select the file you want to use the plugin with, or click Try it out to add it to your saved plugins.

  3. Once saved, access it from any Figma file via Main Menu → Plugins → Coherent Gameface Exporter (or the Resources panel → Plugins tab).

  1. Select a frame in your Figma canvas. The exporter works on top-level frames that correspond to a single Gameface view or component.

  2. Open the plugin via the Plugins menu.

  3. Configure the export settings - choose your output folder, image format for raster assets, and any available layout options.

  4. Run the export. The plugin generates an HTML file and a CSS file (and any image assets) in the selected output location.

  5. Preview in the Player - drag the exported HTML file onto the Gameface Player or load it via the address bar. Always preview in the Player, not a browser: font rendering, CSS subset support, and box model behavior differ between Gameface and Chrome.

Performance Consideration: Keep Designs Lean

Section titled “Performance Consideration: Keep Designs Lean”

The plugin is actively developed. At launch, some features exported from Figma may not translate fully or at all:

  • Interactions and animations - click events, hover states, Smart Animate transitions, and Figma prototyping links are not exported.
  • Data bindings - data-bind-* attributes are not generated. Data wiring must be added manually.
  • Gameface UI components - the exporter outputs raw HTML elements, not Block, Button, Flex, or other Gameface UI library components. Replacing generic elements with library components is a post-export task.
  • Complex effects - advanced Figma effects (blur, blend modes, complex gradients, SVG masks applied in Figma) may not export accurately or may require manual CSS adjustments.
  • Custom fonts - ensure your fonts are available to the Player at the same path referenced in the exported CSS. The exporter uses the font family name from Figma; you need to configure @font-face or Config.toml accordingly.

Always review the exported HTML and CSS before using it as a base, and test in the Player early to catch any rendering differences.