TMSliderControl is a replica of the On/Off switch in the Time Machine system preferences pane of OS X.

Official TMSLiderControl repository