The body is a black plastic with the LED built inside. There are two contacts for the button and two contacts for the LED, one marked + and one -. The forward voltage of the LED is about 3V so connect a 220 to 1000 ohm resistor in series just as you would with any other LED to your 3V or higher power supply.
This particular button has a blue body and LED and is momentary, normally open. The two switch contacts are not connected normally. When you push the button they will temporarily connect until the button is released. The LED is separated from the button, so you can make it light up when pressed, light up when not pressed, always lit, etc. Also available in white.
This button has a white body and LED and is latching on/off. The two switch contacts are either connected or disconnected. When you push the button they will switch from one to the other, like an on-off switch. The LED is separated from the button, so you can make it light up when on, light up when off, always lit, etc. Also available in blue.
Make a robot friend with Adafruit’s CRICKIT – A Creative Robotics & Interactive Construction Kit. It’s an add-on to our popular Circuit Playground Express, FEATHER and other platforms to make and program robots with CircuitPython, MakeCode, and Arduino. Start controlling motors, servos, solenoids. You also get signal pins, capacitive touch sensors, a NeoPixel driver and amplified speaker output. It complements & extends your boards so you can still use all the goodies on the microcontroller, now you have a robotics playground as well.