ResourcePicker

The ResourcePicker action set provides a search-based interface to help merchants find and select one or more products, collections, or product variants, and then returns the selected resources to your app.

You can use the ResourcePicker action set with plain JavaScript or a React component.