Hey guys, so i am building a mobile app that is a marketplace with ofc two different type of users with their distinct pages. the problem is you can only have one form of tab on the bottom. it would be good if we could create two different tabs for each type of user.
You can already do this — just use conditionals on your tab bar to show different tabs based on the current user’s type.
Set a field on your User data type (e.g. “user_type” as an option set or text), then add conditions on each tab element to show/hide based on Current User's user_type.
That way the same tab bar dynamically changes depending on who’s logged in.
True but there is a max of 5 elements on the tab bar and i have 4 buttons for every user so it isn’t possible
same. and i wanted to add a photo in the “account tab” but it’s impossible. i wish it was more personnalisable
You might need to work around that by having more general tabs and using conditional visibility on the content of the tab pages.
Ideally what tabs do you need for each user type?