Skip to content

Latest commit

 

History

History
65 lines (38 loc) · 2.36 KB

spfx-ui-components.md

File metadata and controls

65 lines (38 loc) · 2.36 KB

SharePoint Framework UI components

Many components are already available, as open source libraries, to build nice UX/UI.

JavaScript frameworks

Using a JavaScript framework is not mandatory but it can help having simple code.

Options are:

  • Angular
  • React (recommended)

Component libraries

Office UI Fabric React (soon to be replaced by Fluent UI)

developer.microsoft.com/fluentui

  • Installation
npm install office-ui-fabric-react

Microsoft Graph Toolkit components

Library to use Microsoft Graph Toolkit in SharePoint Framework solutions.

SharePoint Framework library for Microsoft Graph Toolkit

  • Installation
npm install @microsoft/mgt-spfx

# for React
npm install @microsoft/mgt-react

PnP (Microsoft 365 Patterns and Practices) components

npm install @pnp/spfx-property-controls --save --save-exact
npm install @pnp/spfx-controls-react --save --save-exact