Top header and popup component of the user profile. Contains the button that changes the status of the sidebar and also the language change field of the application.
{name: 'The user name',email: 'mail@builderall.com', gravatar: '...', locale: 'pt_BR'}
Object referring to the logged user data. He must have the keys name, email, gravatar, locale
sidebar-state
String
'expanded'
Sidebar state. Used to display the open or closed hamburger menu (possible values: 'expanded', 'mini', 'disabled')
logo
String
null
Application logo URL
logo-sm
String
null
Application logo URL on mobile
label-favorite-lang
Number
'Your favorite lang'
"Preferred language" label in the user's popup
label-logout
String
'Logout'
Label "logout" in the user's popup
home-link
String
'/'
Application home link when clicking on the logo
languages
Array
An array of languages [{key: 'pt_BR', desc: 'Português (Brasil)'}, ...]
List of available languages. You can customize this list to provide only languages that have translations. Every language must have a key and a desc
sidebar-mobile-id
String
bui-sidebar-mobile
Related mobile sidebar ID. It must be the same in the bui-navbar and bui-sidebar. If your application has only one sidebar you don't have to worry about this property