where is blender shader library UI?
There something like that in Blender 2.79 internal render that am using.

Goto>File>Preferences>Add-on
Then activate "Material Library"

Then go to Object Material Property Tab, You will see the Material Library.

In that Material Library, choose the Render Engine, the Materials for the Selected Engine will be listed.

Screenshots coming soon