Custom Switch-button

How can I make a switch like this