Create a search field similar to the search field in the discount section?

If you’re looking to do this for picking products, you can just use the resource picker from AppBridge. If you’re looking to build your own, I’d create a new modal with a TextField that has a search / filter function on it and uses Resource Item from Polaris and manage states