If you missed the previous article please take a look here Office UI Fabric People Picker and SharePoint search better together part 1 – SharePoint Add-Ins.
As promised, I released a SharePoint Framework solution with the Office UI Fabric People Picker, like for the Add-Ins solution, the App across the SharePoint
Search Rest API is able to retrieve people, SharePoint Groups, Security Groups and Distribution List.
The web part property pane allows to choose a compact or normal version of people picker, the number of items to show and which entities retrieve (User, SharePoint Groups, Distribution Lists, Security Groups).
Watch the video:
Source code of this web part is also available on the official GitHub of Microsoft SharePoint Framework client-side web part samples & tutorials: