When you add a modern page to a site, you add and customize web parts, which are the building blocks of your page.
This article focuses on the Sites web part.
Notes:
-
Some functionality is introduced gradually to organizations that have opted in to the Targeted Release program. This means that you may not yet see this feature or it may look different than what is described in the help articles.
-
The Sites web part is not available in SharePoint Server 2019.
The Sites web part allows you to automatically show sites associated with a hub site (when a hub site is in use), or a current user's recent sites (which are the same as those shown on the user's SharePoint Home page). If you have specific sites you want to show, you have the option to select those instead of automatically showing sites.
When sites are shown in the web part, each will include the name of the site, a link to the site, and the latest activity for the site. Recent user updates and views are examples of site activity.
Add the Sites web part to a page
-
Go to the page where you want to add the web part.
-
If you're not in edit mode already, click Edit at the top right of the page. Find the Toolbox () on the right.
-
Select See all web parts, then select or drag-and-drop Sites from the list of web parts.
When you are using a hub site, the web part will automatically show sites that are associated with the hub site that your page is part of. If you don't want that, you can select specific sites or the current user's frequent sites instead.
Choose which sites to show
-
Click Edit properties () on the top left of the web part to open the Sites properties pane.
-
Do one of the following:
-
To select specific sites to show, click Select sites, and then search for the site you want to add, or select one or more sites from Sites associated with this hub, Frequent sites, or Recent sites. Then, select the checkboxes for the sites you want to show.
-
To show sites automatically, click All sites in the hub (only when you're using a hub site), or Frequent sites for current user (which displays the same sites as those on the user's SharePoint Home page).
-
Change the layout
-
If you're not in edit mode already, click Edit at the top right of the page.
-
Click Edit properties () to open the Sites properties pane.
-
Under Layout, select Filmstrip, Cards,or Compact. Note that you can reorder sites only in the Cards layout.
Reorder sites
-
If you're not in edit mode already, click Edit at the top right of the page.
-
Click Edit properties () to open the Sites properties pane.
-
Under Layout, select Cards. You can reorder items only in the Cards layout.
-
In the web part on the page, drag and drop the sites in the order you want.