Component Navbar Responsive
Hi,
You can build a navbar in components and using galleries and containers. Just turn the "Access app scope" toggle ON to be able to access variables in the app.
To make it responsive, use App.ActiveScreen.Size property to automatically adjust navbar size when changing screen size.
Example
For the width of the navigation bar:
If(
App.ActiveScreen.Size > 3,
296,
If(
App.ActiveScreen.Size > 2,
96,
296
)
)
With this code, navbar with will be this per screen size:
Desktop = 296
Tablet (horizontal) = 96
Tablet (vertical) = 296
Phone = 296
The reason I made the navbar width for tablet vertical and phone is because navbar are usually hidden on smaller screen size and shown as popup in its full width.
You can use a button with burger icon to control the visibility of the navbar when in smaller screens.