Skip to main content
This website uses cookies to ensure you get the best experience on our website. Learn more.

Figma Example


In this example, we will connect blokdots to the Figma plugin and control elements on the canvas using hardware.


All of the components are included in the Grove Beginner Kit.


Figma Plugin
Get the blokdots Figma plugin
Figma File
Copy the Figma file from the community
blokdots File
Download the example .blokdots file [4kB]

Step by Step

Install the plugin

Install the blokdots Figma plugin (it only works with the Figma Desktop App!) and copy our Figma community file.

Using the plugin

blokdots overview

In the Figma file, right click onto the canvas, navigate to Plugins and click on blokdots. If blokdots is open and the Figma integration is enabled, the plugin window should look like this. If not, make sure blokdots is open and the integration is enabled.

blokdots overview

Now select a layer that you want to manipulate with blokdots, then click on "Expose current selection to blokdots". This will make it accesible as a compnent in the blokdots app. Do so with every layer you want to manipulate. In our case this will be the rectangle "Bar" and the text "Text". That's it for now!

Creating the blokdots project

blokdots overview

Let's switch back to blokdots. To check if your exposure did work, hover over the small Figma icon at the bottom of the Project slots. You should be able to see all layers that you have selected in the plugin.

blokdots overview

Connect the potentiometer to the slot "A0" (the Grove Beginner Kit has it already preconnected there if you didn‘t break it out yet), set it up in the Live View, and "use" it your project.

blokdots overview

Now in the Project window you should be able to select Figma as an actor. Let's start with a Relationship card. To do that, simply click on the "Map … onto …" button. Here, the same as with the "If … then …" cards, you can step-by-step create your connection. We want to map the potentiometer to the Figma layer "Bar's" width. Therefore select "Figma", then the layer "Bar", then width, and finally the range. In our case we want it to go from 0px up to 500px.

Sending to Figma

If you hit play now, and switch to Figma, you should be able to change the width of the rectangle with your potentiometer. Keep in mind, that the blokdots plugin needs to be open for the connection to work!

blokdots overview

We do this with every parameter we want. E.g. mapping the color to the rotation of the potentiometer. A little hidden feature is that you are able to also display the value of the potentimeter in Figma if you type "{{value}}" the output text field. Your final program should look something like this.

Now hit play again and you have a little sensor dashboard prototype! Maybe try next to map the temperature sensor instead of the potentiometer and create a visual thermometer for your room.