SharePoint Web Parts – Dynamic Page Builder Components Guide

30 July 2025
Sharepoint web parts guide

If you’re new to SharePoint, think of it as a website builder that helps teams share documents, track tasks, or create internal portals. To make these pages work the way you want, SharePoint gives you small building blocks called web parts.

Web parts are like little apps or tools you can add to a SharePoint page. They help you show information like documents, calendars, videos, charts, or announcements without writing any code.

How have they changed over time?

  • Classic web parts are older and based on traditional website technology.
  • Modern web parts are newer, easier to use, and built with the latest Microsoft tech.
  • Custom web parts are created specifically for unique needs when there aren’t enough built-in tools.

In the following section, we will understand each type of SharePoint web part in detail:

web part types

1. Modern SharePoint Web Parts

Modern web parts are the newer, easier, and mobile-friendly version of web parts. These are used in modern SharePoint pages and work well with Microsoft 365 tools.

Key Features:

  • Easy to use, just drag and drop
  • Automatically adjusts for mobile screens
  • Great integration with tools like Teams, Outlook, OneDrive, etc.
  • No coding needed for most changes

Examples: Document library, Quick links, Image gallery, YouTube video, Power BI report.

2. Classic SharePoint Web Parts

Classic web parts were used in older versions of SharePoint. They are still supported but are slowly being replaced by modern web parts.

Key Features:

  • More complex to use
  • Not mobile-friendly by default
  • Customisation requires technical knowledge
  • Used mainly in older or legacy systems

Examples: Content Editor, Image Viewer, Page Viewer.

3. Custom SharePoint Web Parts

Sometimes, the built-in web parts (modern or classic) aren’t enough. You may want to show your company’s CRM data, a custom chart, or a special form. That’s where Custom web parts come in.

These are specially developed tools using SharePoint Framework (SPFx) and other web technologies like JavaScript and TypeScript.

Key Features:

  • Power BI reports: To show advanced dashboards inside SharePoint
  • Third-party apps: Connect to tools like Salesforce, SAP, or a weather API
  • Approval systems: Custom buttons and logic to approve requests or track tasks

Comparing Modern, Classic & Custom Web Parts

Let’s see the comparison between these Web parts based on different aspects as follows:

AspectClassicModernCustom
RenderingServer-side (runs on SharePoint servers)Client-side using SPFx (runs in browser)Client-side using SPFx or JavaScript
Mobile SupportLimited; not mobile-friendlyBuilt-in mobile responsivenessFully responsive on all devices 
CustomizationUses XML and property panes          Simple UI settings for easy changesFull control via coding and custom logic
DeploymentWSP files with central admin toolsSPFx packages via App CatalogueSPFx via App Catalogue or other platforms
Security & GovernanceHandled at the server levelManaged via Microsoft 365 admin centreRequires extra attention to secure custom code
Integration with M365LimitedSeamless integration (Teams, OneDrive, Power BI)Deep integrations are possible with APIs and Microsoft Graph
Development Skills NeededNot always required, prebuilt parts used mostlyNo coding needed, just configurationNot always required, prebuilt parts are used mostly
Use CaseFor legacy setups or older systemsBest for Microsoft 365 environmentsIdeal for custom business needs  

How to Add a Web Part to Your SharePoint Page

Adding a web part to a SharePoint page is a standard process, no matter what type of web part you are using. In this section, we’ll walk through how to add a web part to a SharePoint page using a real example.

See also  Top 10 Data Analytics Outsourcing Providers - Costs & Benefits

We have a sales report already published in a Power BI workspace, and we’ll embed that report into our SharePoint page using the Power BI web part. Let’s go through the step-by-step process below.

Step 1: Create or open a SharePoint Page

A web part can only be added to a SharePoint page. You can either use an existing page or create a new one:

  • Go to your SharePoint site and click the Settings (⚙️) icon in the top-right corner, select “Create a page”
communication site

Step 2: Enter Page Details

A window will open asking for page details.

  • Enter a Page Name, Title, and any description or header information
  • Once done, click Publish to make the page live on your site
Sales Power BI Report

Step 3: Edit the Page

Now, go to the page you just created (or an existing one).

  • Click “Edit” in the top-right corner to start modifying the page layout
sharepoint - Power bi embedded

Step 4: Add a Web Part

  • Click the “+” sign where you want to place the web part
  • A list of available web parts will appear, including classic, modern, and custom web parts
Report in sharepoint

Step 5: Search for the Power BI Web Part

  • Since we’re embedding a Power BI report in this example, type “Power BI” in the search bar
  • Click on the Power BI web part to add it to the page
Power BI

Step 6: Embed the Report

  • Click “Add report” in the Power BI web part and paste the embed URL of your Power BI report (not the regular link)
  • You can also enter the page name and choose the default view if the report has multiple pages

Not sure how to get the embed link? Refer to the article 6 Ways to Share a Report in Power BI with Anyone to learn how to generate it.

BI dashboard

Step 7: Republish the Page

Once the report is added and the settings are done:

  • Click “Republish” to save and make the changes visible to others
  • Your Power BI report will now appear directly on the SharePoint page as a web part
sharepoint sales report

We have seen the example of the Power BI web part, but there are some other common, useful web parts available as follows:

Common SharePoint Web Parts

Web PartDescription
TextAdd and format text like paragraphs, headings, and bullet points
Document LibraryDisplay documents from a SharePoint document library.
EmbedEmbed content from external sites (like YouTube, Google Maps, etc.) via URL or code
PeopleShowcase team members or contacts with profile pictures and roles
StreamEmbed videos hosted on Microsoft Stream (modern version).

How to Develop a Custom Web Part in SharePoint

As we already defined earlier in this article, a Custom Web Part in SharePoint is a tailor-made building block you can add to a SharePoint page to show specific content or functionality. While SharePoint has many built-in web parts (such as document libraries or calendars), organisations sometimes need something unique, like integrating a CRM system, displaying custom reports, or creating interactive tools. That’s where custom web parts come in.

See also  Data Analytics Implementation- A Guide to Boost Business Insights

High-Level Steps to Implement a Custom Web Part in SharePoint

In this section, we will understand the high-level steps of the custom web part implementation in SharePoint:

1. Identify the Requirement

Before anything is built, it’s important to define what you need the custom web part to do, such as showing data from another system, displaying a custom form, or creating a visual dashboard.

2. Share the Idea with a Developer

Once you know what you need, explain it clearly to a SharePoint developer what data should appear, how it should look, and how users should interact with it.

3. Design & Develop the Web Part

The developer will now build the web part using tools like SharePoint Framework (SPFx), JavaScript/TypeScript, and optionally React, depending on the complexity. They create the functionality and user interface based on your requirements.

4. Test the Web Part

Before making it live, the developer will test it on a local development environment to check if everything works smoothly, including layout, buttons, data, responsiveness, etc. This helps catch any errors early and ensures a better user experience.

5. Package and Deploy to SharePoint

After testing, the developer will bundle the web part into a package and upload it to SharePoint’s App Catalogue, making it available to use across your SharePoint sites.IT may review and approve it for security and compliance.

6. Add the Web Part to a SharePoint Page

Once deployed, any site owner or editor can go to a SharePoint page, click Edit, then click the + button, and add the new custom web part just like any other built-in part. It can then be configured or styled according to the page design.

7. Review and Launch

Finally, test the web part on the actual SharePoint page with your team, collect feedback, and make any last-minute adjustments before publishing it live for everyone to use. This ensures the web part meets your needs and works as expected.

Technologies Required

To develop a custom web part in modern SharePoint, developers use a toolset called the SharePoint Framework (SPFx). Here’s what is typically involved:

  • SPFx (SharePoint Framework) -Main platform for creating custom web parts
  • Node.js-JavaScript runtime for setting up the environment
  • Yeoman Generator for SharePoint -A Tool to scaffold (generate) the web part structure    
  • Gulp – Task runner for building and testing web parts
  • Visual Studio Code -Code editor used for writing and testing code
  • TypeScript / JavaScript – Languages used to write the functionality
  • Microsoft Graph API / REST APIs – To fetch data from other Microsoft 365 services
See also  SharePoint Use Cases - Boost Collaboration & Automation

Use Cases for Custom Web Parts

Let’s see some of the major Use cases with examples for Custom web parts in SharePoint:

Use CaseDescriptionExample
Data VisualizationShow data in charts or dashboardsEmbed a custom sales dashboard from Power BI
Third Party IntegrationConnect with external systemsDisplay customer records from Salesforce inside SharePoint
Task ManagementCreate Interactive WorkflowsA custom approval tracker for leave requests
Custom FormsCollect user data in a specific formatA feedback form that submits directly to a backend system
Live WidgetsShow real-time contentWeather or stock updates via API.

Best Practices for Implementing Custom Web Parts in SharePoint

Let’s go through some of the best practices to follow when implementing a custom web part in SharePoint. These tips will help ensure your web part is easy to use, performs well, and fits smoothly into your SharePoint site.

1. Plan Before You Build

Think about what your web part should do. Is it showing a report? Connecting to data? Or adding a custom feature? Having a clear goal saves time and effort later.

2. Use the Right Tools

Custom web parts are built using a tool called SharePoint Framework (SPFx), which works well with SharePoint Online. Make sure your developer is using SPFx and modern tools like Visual Studio Code.

3. Keep It Simple for Users

Design the web part in a way that is easy to use and looks clean. Add buttons, text, and layout that people understand. Avoid too many options or technical settings for end users.

4. Make Sure It Works on All Devices

Your custom web part should look good and work properly on mobile phones, tablets, and desktops. Test it on different screens to make sure it’s responsive.

5. Follow SharePoint Style and Layout

Try to make your custom web part match the overall SharePoint look and feel. This makes your site feel consistent and professional.

6. Secure Any Data Connections

If your web part pulls in data from outside sources (like an API or a database), make sure it’s secure. Use proper authentication methods and never expose sensitive information.

7. Use Version Control

Keep track of changes made to the code or design using version control systems like Git. This helps you roll back if something goes wrong later.

Conclusion

In this article, we explored SharePoint web parts, their evolution from classic to modern, and how they help build dynamic pages. We also walked through the process of adding a web part to a SharePoint page and examined how custom web parts can be developed to meet specific business needs, along with real-world use cases.

If you’re looking for support with SharePoint development or need a custom web part tailored to your organisation, feel free to reach out to Vidi. Their team of experts can help you design and build the right solution for your business.

FAQ

What is the difference between an app part and a web part?

A web part is a building block you can add to a SharePoint page (like a document viewer or image). An app part refers to adding a SharePoint app (like a calendar or custom app) as a web part usually more powerful and sometimes developed separately.

How do I add web parts to SharePoint?

Go to your SharePoint page, click Edit, then click the “+” button to see available web parts. Choose the one you want, configure it, and click Publish to save the changes.

What are some frequently used web parts in SharePoint?

Common web parts include Document Library, List, Quick Links, Hero, Text, and Image. This help display content, add navigation, or share updates.

Can you embed a website into SharePoint?

 Yes, you can use the Embed web part to add external website content using a secure embed code (like YouTube videos or dashboards). Just make sure the site supports embedding.

Can I customise how a web part looks?

Yes, most modern web parts allow basic layout and style changes. For full customisation, you can build a custom web part using SharePoint Framework (SPFx).

Do custom web parts work on mobile devices?

Yes, if built properly using modern tools like SPFx, custom web parts are fully responsive and work well on phones and tablets.

Can I reuse the same web part on different pages?

 Yes, web parts can be reused across different pages. You just need to configure them for each use or create templates for consistent setup.

What is SPFx (SharePoint Framework)?

 SPFx is a modern development model used to build custom web parts and extensions in SharePoint. It’s based on JavaScript and works well with Microsoft 365.

Microsoft Power Platform

Everything you Need to Know

Of the endless possible ways to try and maximise the value of your data, only one is the very best. We’ll show you exactly what it looks like.

To discuss your project and the many ways we can help bring your data to life please contact:

Call

+44 7846 623693

eugene.lebedev@vidi-corp.com

Or complete the form below