Skip to content
pubscout

figma

7.5.0, released a year ago by molland.sh

A pure Dart wrapper library for interacting with the Figma API with typed responses.

WASM-ready
$ flutter pub add figma
Source repository

What it does

It provides full Figma API coverage with typed responses and data structures. It supports API tokens and OAuth authentication, variables, component and style handling, comments, webhooks, and export capabilities like PDFs.

AI-written summary of version 7.5.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to fetch Figma files, styles, components, or variables programmatically in Dart.
  • You are building automation tools or CI/CD pipelines that interact with Figma data.

Skip it when

  • You are looking for a Flutter UI component kit or a plugin to render Figma designs directly inside a Flutter app at runtime.
  • You need a general-purpose HTTP client instead of a specialized Figma API wrapper.

Strengths

  • Comprehensive coverage of the Figma API endpoints.
  • Typed data structures and responses for Figma documents.
  • Supports both Personal Access Tokens and OAuth authentication.

Weaknesses

  • Relies entirely on Figma's API limits and rate-limiting rules.
  • Does not render Figma designs natively on device as UI widgets.

Setup

Kind
Pure Dart
Effort
Low
Code generation
Yes (build_runner)
Direct dependencies
6

Obtain a personal access token or set up OAuth from your Figma account settings, then initialize the FigmaClient with the token.

import 'package:figma/figma.dart';

void main() async {
  final figma = FigmaClient('your_access_token');
  final file = await figma.getFile('file_key');
  print(file.name);
}

Alternatives

Packages that do the same job and could replace figma.

Works with

Packages commonly used together with figma: ones it builds on, ones built on it, and its own family.