Thank you for your interest in the JSON to Figma plugin. As of now, this plugin has become a paid plugin available on the Figma Community. Due to this change, this repository will no longer be updated.
The plugin can parse local or JSON files from a URL link. You can populate any layers with text or images.
null
valuesAll you need is a proper JSON. The plugin will parse show all available keys from the JSON including nested layers.
Range seection
β If you want to select a certain range from a JSON, you can do it like this β1-10β, β1, 5, 20β, or combine them β1-10, 21, 50-340β β it means that the plugin will take JSON objects from 1 to 10, 21 and from 50 to 340 and combine them into one new array. Then you can also save filtered array.
Skip marked layers
β if you want to skip layers, groups or frames β exclude them from the list, then you can use the βSkip marked layersβ option. Just select layers and press βSkip selectedβ. You can also clean marked layers or add the marker manually.
Random order
β If you switch it on all items will be filled in a random order. By default, all your layers will be filled in order.
Image URLs recognition
β The plugin will automaticly recognise values from a JSON that end with .JPG, .PNG, .GIF or .WEBP as images. if you name a shape or a frame with the name of the key β the pllugin wil fetch the image by URL and add it as a fill.
The JSON structure for the file should look like an array of objects.
[
{
"id": 1,
"name": "Shannah Judgkins",
"job": "Database Administrator II",
"image": "https://robohash.org/suntautvoluptatem.jpg?size=500x500&set=set1"
},
{
"id": 2,
"name": "Silvester Hallwell",
"job": "Data Coordiator",
"image": "https://robohash.org/rerumautemenim.jpg?size=500x500&set=set1"
}
]
You can download try different JSON samples from this repo.
Or you can use on of these services: