Download a new library in Arduino IDE

In order to download a new library, go to Tools -> Manage Libraries

Search for the library of your interest in the window that opens up. Click on the desired library, and click Install.

This will Install the library and you will be able to see the example specific to the library from File -> Examples.