Document Library Web Part in SharePoint Online

Using the SharePoint document library web part, you can show a specific view of the library or folder. In this SharePoint Online tutorial, I will explain the SharePoint document library web part. Then, we will discuss how to use a document library web part in SharePoint Online.

Also, I will show you, how to customize the SharePoint Online document library web part.

SharePoint Online Document Library Web Part

  • SharePoint Online document library web part allows users to view a specific library and filter different folders with appropriate permissions.
  • You can also pin the document to the top of the library and add, edit, or delete the files from this SharePoint document library web part.
  • Also, by clicking the “See all” option we can get the entire document library as well. Follow the below picture of what the SharePoint document library web part looks like.
SharePoint Online Document Library web part

How to Use Document Library Web Part in SharePoint Online

Now, let us discuss how to add and use a SharePoint document library web part. To achieve it, follow the below steps. Such as:

  • Open the SharePoint page where you want to add a document library web part, click on + icon like below.
SharePoint Online Document Library Web Part
  • Then, search the document library, and select a Document library web part under the Search results.
SharePoint document library web part
  • Now the SharePoint document library web part is added. Then, you can select a specific document library from the list of all libraries as shown below.
Document library web part from SharePoint Online
  • Once, select the specific document library is added, it will look like below.
SharePoint Document Library web part

This is how to add and use a document library web part in SharePoint Online.

SharePoint Online Document Library Web Part Customization

Here, we will see how to customize a SharePoint Online document library web part. To do so, follow the below steps.

  • In the SharePoint document library web part, click on the Edit icon like below.
SharePoint Online Document Library Web Part Customization
  • Next, go to the Document Library pane, and provide the details. Such as:
    • Document library – You can select a specific SharePoint document library that you want to display in the document library web part.
SharePoint document library web part customization
  • View – By default, we can get the All Documents view.
  • Folder – If you want a specific folder to view then, enter the folder name under the Folder section and select Apply button. Then, you get a specific folder as shown below.
Customize a SharePoint document library web part
  • Similarly, if you want to show your nested folder then, add the path separated “/” and click on the Apply button. Then, you get a specific nested folder as shown below.
Customize a SharePoint Online document library web part
  • Size: By default, it will give the option “Autosize -fit to number of items“. Instead of that, we can also select different options like below.
Customize a document library web part in SharePoint Online
  • Show command bar: By default, the command is visible, if you want to hide then enable the Hide command bar toggle.
  • Show “See all” button: We can get the “See all” option by default. if you want to hide then enable the Hide see all button toggle. Then, click on the Apply button.
Customize a document library web part to SharePoint Online
  • Dynamic Filtering: By using this option, we can filter the data by using other SharePoint Online document libraries or lists.
How to customize a SharePoint Online document library web part

View documents in different layouts: You can select the All Documents toolbar to change by default list view to another view like Tiles as shown below.

How to use a SharePoint document library web part
  • Add or Upload new documents: We can also add or upload new documents from the SharePoint document library web part.
How to use a SharePoint Online document library web part
  • Customize a specific document: When selecting a document or file, you can take a number of actions like Edit in grid view, Share, Delete, Download, Pin to top, etc…
How to use the SharePoint Online document library web part

This is how we can customize a document library web part in SharePoint Online.

Conclusion

From this SharePoint Online tutorial, we learned all about the SharePoint document library web part. Then, I explained how to use a document library web part in SharePoint Online. Also, we covered the SharePoint document library web part customization.

You may also like: