This picklist component is based on SLDS, and the code of this component is heavily borrowed from Caspar Harmer's multi-select component. The component has been customized to suit the basic needs of a simple picklist.
Refer the github link for the code:
https://github.com/iamsonal/Picklist