settings.text){
"name": "TopBar",
"view": "Default",
"section": "SectionHeader",
"settings": {
"text": "Sample text",
"link1Title": "Sample text",
"link1Path": "/sample",
"link2Title": "Sample text",
"link2Path": "/sample",
"showLanguage": true,
"id": "Component Id",
"section": "SectionHeader",
"type": "NoirTopBar",
"name": "TopBar",
"configuredInContentApi": true,
"view": "Default",
"displayName": "",
"cssClass": "",
"header": "",
"alignment": "Left"
},
"translations": {
"enableDarkMode": "Sample text",
"disableDarkMode": "Sample text",
"selectLanguage": "Sample text",
"...": "..."
}
}settings.idsettings.textsettings.cssClasssettings.link1Titlesettings.link1Pathsettings.link2Titlesettings.link2Pathsettings.showLanguageGlobalData.Company.Languages[] (must contain more than one language)GlobalData.CurrentLanguage / GlobalData.Company.DefaultLanguagetranslations.*Components/TopBar/Default.js exposes:x-init:<div x-init="topbardefault.init($el)">init(el)hide class on the TopBar element.header.offsetHeight / 2 and is updated on resize.canToggle + toggleDelay = 300ms) to prevent flicker.hide CSS class must exist in theme styles, otherwise the bar won’t visually hide.$store.darkMode (theme mode)$store.darkMode.toggle()$store.darkMode.on (for aria-checked and styling)darkModeGlobalData.Company.LanguagesGlobalData.CurrentLanguageGlobalData.Company.DefaultLanguagehidden lg:flex).settings.showLanguage is true and there are multiple languages.| raw, so the backend is expected to provide safe HTML.link1Exists / link2Exists based on title+path.open) and supports Escape + click-away.