Add Shader Buttons is an add-on that introduces boolean switch inputs to the Shader Editor. It allows you to append toggle buttons to both built-in vanilla nodes and custom node groups.
Because boolean node outputs generate true or false values rather than binary numbers, they cannot be directly connected to standard numerical sockets. This add-on bypasses the limitation by utilizing Blender's driver framework. The workflow involves copying the created button as a new driver and pasting it onto the target node value you wish to control.