Using web parts on SharePoint pages

Applies To
SharePoint Server Subscription Edition SharePoint Server 2019 SharePoint in Microsoft 365 SharePoint admin center SharePoint operated by 21Vianet

When you add a modern page to a site, you add and customize web parts, which are the building blocks of your page. You can add text, images, files, video, dynamic content, and more by using the web parts listed in this article.

Note

  • Some functionality is introduced gradually to organizations that opted in to the Targeted Release program. This gradual introduction means that you might not yet see this feature, or it might look different than what is described in the help articles.
  • The web parts in this article aren't available for use on classic pages.

Add a web part

Move or remove a web part

Available web parts

Web parts you can connect

Web part maintenance mode

Note

Before you begin, make sure you have edit permissions for a modern SharePoint page. You can add web parts by using the content-pane Toolbox or the circled +. The circled + method isn't available in flexible sections; use the content-pane Toolbox there.

Add a web part (with the content pane)

  1. Go to the page where you want to add a web part.
  2. If you don't see the site page that you want, click Site contents on the Quick Launch bar. In the list of contents, click Site Pages, and then click the page that you want.
  3. If the page isn't already in edit mode, click Edit at the top right of the page.
  4. At the top of the Toolbox Toolbox icon in content pane on the right, you see a curated list of web parts to choose from.
    Screenshot of the curated list of web parts in the toolbox.
  5. To view all web parts, select See all web parts. Easily find what you're looking for by typing in the Search box, then select or click-and-drag the web part onto the canvas.
    Screenshot of web parts listed in level 2 of the toolbox.
  6. Click 2df06e97-d19b-485d-9652-88850c375393 for a list view or b137d3c3-71b6-459d-9a8f-ffc0f69f8c79 for a grid view. You can also sort the web parts and filter them by category from the drop-down list.
    Filtering the web parts in the level 2 of the toolbox

Add a web part (without the content pane)

  1. Go to the page where you want to add a web part.

  2. If you don't see the site page that you want, click Site contents on the Quick Launch bar. In the list of contents, click Site Pages, and then click the page that you want.

  3. If the page isn't already in edit mode, click Edit at the top right of the page.

  4. Hover your mouse above or below an existing web part and you see a line with a circled ⁠+⁠, like this:
    Screenshot of the plus sign for adding web parts to a page.

  5. Click ⁠+⁠ and you see a list of web parts to choose from. To easily find the web part you're looking for, start typing in the Search box.

    Screenshot of the list of web parts with a Search box.

  6. Click for a list view or for a grid view. You can also sort the web parts and filter them by category from the drop-down list.
    Screenshot of sorting and filtering web parts by category from the drop-down list.

Move or remove a web part

  1. If your page isn't already in edit mode, click Edit at the top right of the page.
  2. Select the web part you want to move or remove, and you see a small toolbar on the left of the web part.
    To move the web part, select the Move web part button and drag the web part where you want it on your page.
    To remove the web part, select the Delete web part button . You can also select DEL on the keyboard to delete.

Resizing web parts in flexible sections

  1. If your page isn't already in edit mode, click Edit at the top right of the page.

  2. Select the web part you want to resize.

  3. Select a resize handle on the web part border, then drag and drop the resize handle to the desired web part width.

    Screenshot of image resize handles in a flexible section.

    Note

    • Minimum web part widths vary across web parts.
    • Width options for web parts vary across web parts. Some web parts can be resized to any width, while others only have four width options.
    • You can add third-party or custom web parts to flexible sections. You can resize these web parts, but they only have four width options by default.

Overlapping and grouping web parts in flexible sections

  1. If your page isn't already in edit mode, click Edit at the top right of the page. To adjust how a web part overlaps the other web parts on the page, click Arrange items in the web part toolbar. Then select your desired outcome from the list.

    Screenshot of the Arrange items dropdown in the web part toolbar.

  2. To edit two or more web parts together, select one web part, then hold Control (Windows) or Option (Mac) on your keyboard while selecting the other web parts. You can then move, arrange, group, duplicate, or delete the web parts by using the shared toolbar.

    Screenshot of the selection state for multiple web parts at once.

  3. If you select Group under the Arrange items dropdown, the web part group persists. In the future, when you select a web part in a group, the group is selected. You can then click a web part in the group again to select and edit the individual web part that is in the group.

    Screenshot of the Group button under the Arrange items dropdown in the shared toolbar for web parts selected together.

Note

When you finish editing, select Save as draft or Save and exit, depending on your page's coauthoring setup, to save your changes and leave edit mode. To make your changes visible to readers, select Publish or Republish, as appropriate. For more information, see Create and use modern pages on a SharePoint site.

Available web parts

The following list describes web parts you can use on a page, along with links to more information for each web part.

Assignments

The Assignments web part displays a personalized view to students of their upcoming and due assignments across multiple classes. Students can select their displayed assignment to jump to their specific assignment in the Assignments app for that class.

Note

The Assignments web part is only available to EDU customers.

The Agent link web part enables site owners to place a SharePoint agent on a SharePoint page. When you click on the link, the agent opens in the pane next to the main page. The Agent link web part helps you find and use the agents within your site—making it easier to get contextual help when and where you need it most.

Agent chat

The Agent chat web part enables site owners to place a custom Copilot or Copilot studio agent directly on a SharePoint page. Use this web part to put a Microsoft 365 Copilot agent directly on a SharePoint page. People can chat with the agent on the sites they already use, and you can surround it with instructions, examples, and related content to help them get started.

Button

Use the Button web part to add a button to your page with your own label and link.

Note

The Button web part isn't available in SharePoint Server 2019.

Call to action

Use the Call to action web part to create a button with a call to action for users.

Note

The Call to action web part isn't available in SharePoint Server 2019.

Code snippet

Use the Code snippet web part to display code as text on your page for others to use or learn from. You can select the code language and a dark or light theme. This web part even auto-corrects syntax.

Note

The Code snippet web part isn't available in SharePoint Server 2019.

Connectors

By using the Connectors web part, you can get messages, alerts, and notifications from your favorite external services on a group-connected team site page. For example, you can show updates from services like Trello and Facebook; alerts when something new is published in an RSS feed; notifications from JIRA or GitHub; or even summaries from Salesforce and Google Analytics.

Note

The Connectors web part is available only on group-connected team sites. It's not available on Communication sites or on any sites in SharePoint Server 2019.

Conversations

The Conversations web part features multiple conversation types and a more interactive user experience. Viva Engage Conversations and Viva Engage Highlights web parts work together to enhance collaboration on your modern SharePoint in Microsoft 365 page. Use this web part when you want users to participate in interactive conversations without leaving your SharePoint page.

Countdown Timer

The Countdown Timer web part displays a countdown (or count up) to an event. You can add a title, set the date format, add a description, and a call-to-action button with a link.

Note

The Countdown timer web part isn't available in SharePoint Server 2019.

Divider

The Divider web part inserts a line between other web parts to help break up your page and make it easier to read.

Document library

The Document library web part displays a document library you can customize with your own title, view, and size. Users with appropriate permissions can view or edit files directly from the web part or can go to the full document library by selecting See all.

Embed

The Embed web part displays content on your page from other sites like YouTube videos. Depending on the site, you can either use the site's address or embed code that the site provides.

Events

The Events web part allows you to add and display upcoming events on your page. You can include a map with location, online meeting information, and more.

File and Media

The File and Media web part inserts files on your page. File types you can insert include Excel, Word, PowerPoint, Visio, PDFs, 3D Models, videos, and more.

Note

In SharePoint Server 2019, file types that you can insert are limited to Word, Excel, and PowerPoint (specifically .doc, .docx, .xls, .xlsx, .pot, .potx, .ppt, and .pptx).

Group calendar

The Group calendar web part puts a group calendar right on your page so that it is easily visible to your readers.

Note

The Group calendar web part isn't available in SharePoint Server 2019.

Hero

The Hero web part is a great way to bring focus and visual interest to your page. You can display up to five items in the Hero web part and use compelling images, text, and links to draw attention to each. Communication sites include the Hero web part by default, but you can also add the Hero web part to other pages.

Highlighted content

The Highlighted content web part dynamically displays content based on content type (documents, pages, news, videos, images, etc.), filtering, or a search string. You can also set the scope of the search to a site or site collection and sort the results.

Highlights

Use the Highlights web part to add Viva Engage experiences to your SharePoint sites. The Viva Engage Highlights web part allows you to provide a quick overview of active conversations and a targeted portal to specific groups or conversations. TheViva Engage Conversations web part allows users to view whole conversations and start new conversations of all types (questions, polls, and praise).

Image

The Image web part on a page inserts an image on the page, either from your site, your OneDrive, or your hard drive.

The Image gallery web part shares collections of pictures on a page. Simply select your images with the file picker or drag them onto the web part. After you create your collection, you can drag and drop the images to reorder them as needed.

Kindle Instant Preview

Do you have a book you want to recommend or promote on your page? The Kindle Instant Preview web part shares a preview of a Kindle book.

Note

The Kindle Instant Preview web part isn't available in SharePoint Server 2019.

The Link web part adds a link to an internal or external page, video, image, or document.

Note

The Link web part isn't available in SharePoint Server 2019.

List

The List web part displays a list that you can customize with your own title, view, and even size. Users can view the list, or go to the full list by clicking See all.

List properties

The List properties web part connects to a List web part on the same page and displays items from the list based on what a user selects.

Note

The List properties web part isn't available in SharePoint Server 2019.

Maps

The Use the Maps web part adds a map to your page. Simply enter an address or a well-known name and your map appears. You can choose a different map type, such as road or satellite. You can also change the zoom level or give your map pin a friendly name.

Note

The Maps web part isn't available in SharePoint Server 2019.

Markdown

Use the Markdown web part to add text to your page. Format the text by using Markdown language.

Note

The Markdown web part isn't available in SharePoint Server 2019.

Microsoft Forms

Use the Microsoft Forms web part to create surveys, quizzes, and polls on a page. You can also collect responses to your forms and show form results.

Note

The Microsoft Forms web part isn't available in SharePoint Server 2019.

Microsoft PowerApps

Microsoft PowerApps is a service that you can use to build business apps that run in a browser or on a phone or tablet, with no coding experience required. After you create or customize an app by using the service, add it to your SharePoint page by using the Microsoft PowerApps web part. Enter the app's web address or the app ID, and then resize the app to fit the page.

Note

The PowerApps web part isn't available in SharePoint Server 2019.

News

The News web part keeps your team in the loop and engages them with important or interesting stories. You can quickly create eye-catching posts like announcements, people news, status updates, and more that include graphics and rich formatting.

Office 365 Connectors

The Office 365 Connectors web part provides an easy way to get messages, alerts, and notifications from your favorite external services on a group-connected team site page. You can show updates from services, alerts in RSS feeds, notifications from JIRA or GitHub, and even show summaries from Salesforce and Google Analytics.

Organization chart

Use the Organization chart web part to show a visual organization chart by choosing a person to build the chart around. You can specify how many reporting levels you want to show.

Page properties

The Page properties web part provides details about your page, such as title, date, content type, and more.

Note

The Page properties web part isn't available in SharePoint Server 2019.

People

The People web part displays a selected group of people and their profiles on your page. Use it for contact information, team information, presenters, and more.

Planner

The Planner web part adds your team's tasks and assignments on a page by using Microsoft Planner.

Note

The Planner web part is available only on group-connected team sites. It's not available on Communication sites or on any sites in SharePoint Server 2019.

Power BI report

The Power BI web part easily embeds an interactive Power BI report on your page. The embedded reports are fully secure so you can easily create secure internal portals.

Note

The Power BI web part isn't available in SharePoint Server 2019.

Quick chart

The Quick chart web part adds simple charts to your page. Enter your data points, add labels, pick your chart type (column or pie), and publish.

The Quick links web part "pins" items to your page for easy access.

Recent documents

The Recent documents web part displays documents that you recently added or edited.

Note

The Recent documents web part isn't available in SharePoint Server 2019.

Saved for later

By using the Saved for later web part, you can save pages, news posts, and documents to view later in SharePoint.

Important

You can save only pages and news posts for later in the browser. In the SharePoint mobile app, you can also save documents for later.

Site activity

The Site activity web part automatically shows recent activity on your site, such as files uploaded, edits made, lists and libraries created, and so on. Just add the Site activity web part, and it automatically pulls in the latest activity.

Sites

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). You can select specific sites to show, or have sites show dynamically based on a hub-site association or on a user's frequently used sites.

Note

The Sites web part isn't available in SharePoint Server 2019.

Spacer

The Spacer web part allows you to control vertical space on your page.

Stream (classic)

The Stream (classic) web part displays a video right on your page from your organization's Microsoft Stream (classic) video portal.

Text

The Text web part adds paragraphs and tables to your page. You can use formatting options such as styles, bullets, indentations, highlighting, and links.

Weather

The Weather web part shows the current weather on your page.

Note

The Weather web part isn't available in SharePoint Server 2019.

World clock

The World clock web part shows the time in different locations around the world.

Note

The World clock web part isn't available in SharePoint Server 2019.

YouTube

The YouTube web part easily embeds YouTube videos right on your page.

Note

The YouTube web part isn't available in SharePoint Server 2019.

Web parts you can connect

Note

SharePoint Server Subscription Edition and SharePoint Server 2019 don't include the features listed in this section.

You can connect some web parts to each other to create an interactive and dynamic experience for your page viewers. For example, you can connect a Document library web part to a File and Media viewer web part. When a user clicks a file name in the Document library list, the File and Media viewer shows the contents of that specific file. Or, connect a List web part or Document library web part to an Embed web part, and add custom code for a variety of dynamic experiences.

Web parts you can connect include the List properties web part, File and Media viewer web part, and Embed web part.

For information and examples, see Connect web parts in SharePoint.

Web part maintenance mode

Having trouble with web parts you put on a page? Try using web part maintenance mode to help troubleshoot the issue.