Live training: next batches coming soon. Join the waitlist:Waitlists open:Developer Training →Developer →Copilot Studio Training →Copilot Studio →
Tutorial hub · free, step by step

SharePoint Framework (SPFx) tutorials

Step-by-step SPFx tutorials from real projects: set up the toolchain, build web parts and extensions, work with SharePoint data, Fluent UI, PnP and Microsoft Graph, and fix the errors you'll hit on the way.

75 tutorials11 topicsBy a 13-times Microsoft MVP
Learning path

New to SPFx? Follow these steps

Already working with SPFx? Skip ahead to the topic you need.

  1. Set up your machine

    Node, the toolchain and your first project.

  2. Build your first web parts

    Web parts, property panes and Fluent UI.

  3. Work with data

    Read and write SharePoint data, forms and Microsoft Graph.

  4. Ship real solutions

    Extensions, specialized web parts and fixing errors.

Topic 01

Setup and fundamentals

Install the tools, create your first project and understand how an SPFx solution fits together.

8 tutorials
Topic 02

Build tools, environment variables and Heft

The Gulp and Heft toolchains, build settings and environment variables.

4 tutorials
Topic 03

Web parts and UI patterns

Client-side web parts, property panes and common UI patterns.

10 tutorials
Topic 04

Fluent UI controls

Fluent UI React controls for forms, lists and pickers that look native in SharePoint.

9 tutorials
Topic 05

CRUD operations and data access

Read and write SharePoint lists and libraries with SPHttpClient, REST and PnP JS.

8 tutorials
Topic 06

Forms, validation and formatting

Build forms with validation and format the data you show.

4 tutorials
Topic 07

Extensions and command sets

Application customizers, field customizers and ListView command sets.

6 tutorials
Topic 08

Microsoft Graph, site data and integrations

Call Microsoft Graph and other APIs from SPFx.

6 tutorials
Topic 09

User experience and specialized web parts

Specialized web parts and UX touches for real intranet pages.

3 tutorials
Topic 10

Errors, troubleshooting and common issues

The build, package and runtime errors developers hit most, with the fix for each.

17 tutorials
Topic 11

Interview questions

Real SPFx interview questions with answers.

1 tutorial

Want a structured path?

Build production-ready SPFx web parts, extensions and Teams tabs with TypeScript, React, PnP JS, Fluent UI and Microsoft Graph. Or see the SPFx career roadmap with the skills, certification and pay for the role.

Bijay Kumar, 13-times Microsoft MVP
Who writes these tutorials

Bijay Kumar

13-times Microsoft MVP · Founder, TSinfo Technologies

Bijay has more than 18 years of hands-on experience with Microsoft technologies, specializing in SharePoint, the Power Platform, SPFx and Microsoft 365. He has trained thousands of developers and IT professionals through SPGuides, wrote “SharePoint Online Modern Experience Practical Guide”, co-wrote “Microsoft Power Platform: A Deep Dive”, and runs the SPGuides YouTube channel. Every lesson comes from real client projects.

FAQ

Frequently asked questions

What is SPFx used for?

The SharePoint Framework is Microsoft's model for customizing SharePoint Online and Teams: web parts, extensions, form customizers and Teams tabs built with TypeScript and React. It replaced SharePoint Add-ins, which stopped working on 2 April 2026.

What do I need to know before learning SPFx?

Basic JavaScript and web development help most. You'll pick up TypeScript and React as you go; our TypeScript hub covers the parts SPFx uses.

Should I use the Heft or the Gulp toolchain?

New projects should follow the current Microsoft guidance for your SPFx version. Our setup tutorials cover both, including how to move an existing project from Gulp to Heft.

How do I fix npm and build errors in SPFx?

Most come from a Node version your SPFx version doesn't support, or a broken node_modules folder. The Errors topic on this page lists the common ones with the fix for each.

Is there an SPFx certification?

No. Microsoft doesn't offer an SPFx-specific exam, so a small portfolio of working web parts and extensions matters most in interviews.