Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
S

sp-dev-fx-extensions

> 前端框架
Open source

Code samples and developer content targeted towards SharePoint Framework client-side extensions. https://aka.ms/spfx-webparts

701 stars0 likes0 views
WebsiteGitHub

About

Code samples and developer content targeted towards SharePoint Framework client-side extensions. https://aka.ms/spfx-webparts


page_type: sample products:

  • office-sp languages:
  • typescript extensions: contentType: samples technologies:
    • SharePoint Framework createdDate: 6/1/2017 4:27:24 AM

SharePoint Framework Extensions Samples & Tutorial Materials

This repository contains the samples that demonstrate different usage patterns for the SharePoint Framework extensions.

We do welcome community contributions to the samples folder in this repository for demonstrating different use cases with SharePoint Framework. Notice that if you use 3rd party libraries, please make sure that library license allows distributions of it as part of your sample.

SharePoint extensions are controls that appear inside a SharePoint page but run locally in the browser. They're the building blocks of pages that appear on a SharePoint site. You can build extensions using modern script development tools and you can deploy your extensions to modern pages in Office 365 tenants. In addition to plain JavaScript projects, you can build extensions alongside common scripting frameworks, such as AngularJS and React. For example, you can use React along with components from Fluent UI to quickly create experiences based on the same components used in Office 365 natively.

Have issues or questions?

Please use following logic on submitting your questions or issues to right location to ensure that they are noticed and addressed as soon as possible.

  • You have general question or challenge with SPFx - use sp-dev-docs repository issue list.
  • You have issue on specific extension or sample - use issue list in this repository.

Additional resources

  • SharePoint Framework Extensions
  • Overview of the SharePoint Framework
  • SharePoint Framework development tools and libraries

Using the samples

To build and start using these projects, you'll need to clone and build the projects.

Clone this repo by executing the following command in your console:

bash
git clone https://github.com/pnp/sp-dev-fx-extensions.git

Navigate to the cloned repository folder which should be the same as the repository name:

bash
cd sp-dev-fx-extensions

To access the samples use the following command, where you replace sample-folder-name with the name of the sample you want to access.

bash
cd samples
cd sample-folder-name

and for the tutorials, use the following command:

bash
cd tutorials

Now run the following command to install the npm packages:

bash
npm install

This will install the required npm packages and dependencies to build and run the client-side project.

Once the npm packages are installed, run the following command to start nodejs to host your extension and preview that in the SharePoint Online pages:

bash
gulp serve

Authors

This repository's contributors are all community members who volunteered their time to share code samples. Work is done as an open source community project, with each sample contained in their own solution.

Contributions

These samples are direct from the feature teams, SharePoint PnP core team (http://aka.ms/m365pnp) or shared by the community. We welcome your input on issues and suggestions for new samples. We do also welcome community contributions around the extensions. If you have any questions, just let us know.

Please have a look on our Contribution Guidance before submitting your pull requests, so that we can get your contribution processed as fast as possible.

Code of Conduct

This repository has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

Sharing is caring!

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

TypeScriptangularjshacktoberfestreactsharepoint-extensions

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category前端框架
PricingOpen source

> Related tools

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架