Rotary encoders can be used similarly to potentiometers. The difference being that that an encoder has full rotation without limits (It just goes round and round). They output gray code so that you can tell how much and in which direction the encoder has been turned. They’re great for navigating menu screens and things like that. This encoder mounts at a right angle so it’s perfect for things like control panels and rack-mount enclosures.
This encoder is especially cool because it has a common anode RGB LED built in, as well as a push-button. Look below for the clear knob that goes with this potentiometer.