User device - mobile vs desktop

hi all,

is there a simple way to figure out whether a user is on mobile or desktop. I want to trigger a notification that the app is well suited for desktop in case a user visits the app on mobile.

Just trying to figure out best practices on weweb.

The easiest thing you can do is create your notification (eg. a banner) and make it display off for desktop size screen, and display on for everything else.
Just select the element and change the display property after you select the screen size
image

2 Likes

You can also have access to the breakpoint in the context

2 Likes

@Mael What is the breakpoint?

I am not sure to get your question, here is a doc about breakpoint: Responsive Design | WeWeb Documentation

1 Like