I have created a custom version of UISearchBar for SwiftUI just using SwiftUI elements.
A resumed version of this search bar is like this:
import Found