@figma-plugin/helpers

A collection of helper functions useful when creating Figma plugins

Usage no npm install needed!

<script type="module">
  import figmaPluginHelpers from 'https://cdn.skypack.dev/@figma-plugin/helpers';
</script>

README

Figma Plugin Helper functions

npm npm bundle size

A collection of useful helper functions to import to your Figma plugin project

Installation

npm i @figma-plugin/helpers
# or
yarn add @figma-plugin/helpers

Usage

import { isTextNode } from "@figma-plugin/helpers";

const firstTextNode = figma.currentPage.findOne(node => isTextNode(node));

Documentation

Find more information about each helper function in /docs directory.

Roadmap

  • Write a contribution guidelines
  • Source additional helper functions from the community
  • Write a docs