Hi @john john ,
Apologize to reply late. I suggest you could use a modern PnP Search Web Part to complete it.
The PnP 'Modern Search' solution is a set of SharePoint Online modern Web Parts allowing SharePoint super users, webmasters and developers to create highly flexible and personalized search based experiences in minutes.
I have found this article for your reference. Hope it would help you.
PnP Modern Search
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.