Custom App - Custom website theme with search bar - need help with search bar

Could someone let me know what I need to add in order to have a search bar similar to the /all-products webpage search bar on a different webpage

I have created a custom app and the theme is being introduced for the ecommerce website but I’m unable to get the search bar working.