How did they do this?

In the rhinoNest grasshopper addon, they made these cool multi-value toggles.

 

How did they make them?

 

See the attached image for an example.  This is one component, copied multiple times and toggled to different values to show what I mean.

 

Thanks