Forum Discussion
add a user search box to a SharePoint online webpage
CEStar321 There is no SharePoint out of the box web part for people search.
So, you will need custom SPFx web part for your requirements. Check below SPFx samples created by community members. You can use these web parts as it is if it fulfills your requirements OR you can modify them as per your requirements after downloading.
- Microsoft Graph People Search - This web part uses Microsoft Graph AI to get the user details. You can also filter the results using search query (For example to limit the results to particular department).
- People Directory
- People Directory web part
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
...ganeshsanap or you can build one in Power Apps. That can then be added as a Microsoft Power Apps webpart to your SharePoint page. On my one below the user starts entering a name, location, job or team and it filters the list as you type:
Rob
Los Gallardos
Microsoft Power Automate Community Super User