• This repository has been archived on 16/Feb/2023
  • Stars
    star
    181
  • Rank 212,110 (Top 5 %)
  • Language
    CSS
  • Created over 4 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Populate data from GitHub into Figma mocks

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