Skip to content

szimek/figma-github-data

 
 

Repository files navigation

GitHub Data

Quickly populate mocks with real data from GitHub!

Usage

To populate data from GitHub, layers need to describe what data they should render.

You can do this by naming your layers with the following syntax:

__{fieldname}, e.g. __bio, or __avatar_url

For nested values, use dot syntax:

__owner.avatar_url

For example field names, see the following examples:

Running locally

  1. Clone the repository: git clone https://github.com/brianlovin/figma-github-data.git
  2. Go to the directory: cd figma-github-data
  3. Install dependencies with yarn
  4. Build the plugin: yarn run build:watch
  5. Go to the plugins directory in Figma
  6. Add a new development plugin
  7. Select the figma-github-data/manifest.json file as the manifest

About

Populate data from GitHub into Figma mocks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 84.7%
  • TypeScript 10.8%
  • HTML 3.5%
  • JavaScript 1.0%