Use or workaround Ionic-native in browser apps

Having built and released a mobile app with Ionic we’re now being asked to move certain parts of that functionality over to a website. There’s a lot we can move out to an Angular library but most of the UI components involve ionic-native plugins like Geolocation, Webview, OpenNativeSettings etc.

I’d like to keep that library clear of anything Ionic because it’s an existing library and I feel bolting on Ionic wouldn’t be good at this point, but I accept that might be unavoidable.
Is there a common approach to be able to provide alternative implementations for code used in browsers and mobile apps?
Should I just run seperate components code in the website and app, and only share the services and models that are common across the platforms?

use Capacitor. Some plugins work for web.