The SharePoint Framework webpart can be added on SharePoint modern UI as well as classic. It has a Webpart property pane which allows end users to configure the web part with custom properties. We can add run time inputs using properties.
It has three key metadata: a page, an optional header, and at least one group.
- Page
It contains a header and groups. It provides the flexibility to separate complex interactions and put them into one or more pages.
- Header
It allows you to define the title of the property pane.
- Group
It allows you to define the various sections or fields for the property pane through which you want to group your field sets.
- Label – PropertyPaneLabel
- Textbox – PropertyPaneTextField
- Multi-line Textbox – PropertyPaneTextField
- Checkbox – PropertyPaneCheckbox
- Dropdown – PropertyPaneDropdown
- Link – PropertyPaneLink
- Slider – PropertyPaneSlider
- Toggle – PropertyPaneToggle
- ChoiceGroup – PropertyPaneChoiceGroup
- Button – PropertyPaneButton
- HorizontalRule – PropertyPaneHorizontalRule
- Custom
Step -1 Create a new SPfx WebPart
Open node js command promt
- md “your project name”
- cd “your project name”
- yo @microsoft/shrepoint












Join the conversation! Your thoughts help the community grow.