A Figma plugin for creating knob stacks
Knob Creator
in the Community areaCongrats, that’s step 1.
Knob Creator uses a frame or group as a base node. If you want a group to be a knob stack, the plugin will move it into a newly created frame. Within the group you can have your separate layers to build your knob out of. Deciding which layer to rotate is managed by naming. There are 3 keywords to start your layer name with:
rotate
: When the layer name start with rotate
the whole layer rotates around the center of the frame. Keep in mind that this needs to be in 12-o-clock position.range
: When the layer starts with range, it will set the arc to the rotation range. This Node must be an Arcvalue
: When starting the value
keyword, the arc will be set to the value. This Node must be an Arc
value-center
: The fill for the value will be left and right from the centerThere is no need to use them all in every knob off course. I hope this image will give you a better understanding of the above:
And the structure would look like:
Knob Creator
The next modal pops up:
step
The end result (steps: 5, degrees: 270) wll look like this: