Datepicker : how to automatically switch components between web and native app

In appgyver there is 1 datepicker for web and 1 datepicker for mobile.
How to you build the component logic to display the correct datepicker depending on if the user is on the web or a mobile ?
I want my app to be accessible from any platform without building a totally new project dedicated to web or mobile.

Here is an example of my mobile datepicker openned on a webpage. How do I automatically switch to the web datepicker when the user is on a webpage ?

Hope this is clear ! thanks for you help ! :pray:

You can use the systemVars.runtime to distinguish between these two and bake it into the ‘visible’ property of a component or into the logic with an ‘If condition’ flow function.