FigmaUI is a framework for rendering figma documents in your application using UIKit elements.


Only usage from figma API available now.

Figma API key available on this page.

Document ID could be found in document url: “

import FigmaUI

let figmaViewController = FigmaViewController(
    apiKey: "<Figma API key>",
    documentId: "<Figma document id>"
) { document in
    document.firstView(withName: "<Figma view name>")


Adding FigmaUI as a Dependency

To use the FigmaUI library in a SwiftPM project, add the following line to the dependencies in your Package.swift file:

.package(url: ""),

Include “FigmaUI” as a dependency for your executable target:

.target(name: "<target>", dependencies: [
    .product(name: "FigmaUI", package: "FigmaUI"),

Finally, add import FigmaUI to your source code.


View Github