Sandy Macdonald has written an excellent explanation and tutorial for using a shift register with the Pimoroni Explorer HAT on top of the Raspberry Pi. It allows you to control 8 LEDs using just 3 output pins on the HAT, which sounds impossible, but is in fact entirely possible thanks to the way a shift register works! Read his tutorial here.