diff --git a/app/assets/javascripts/discourse/app/widgets/before-header-panel-outlet.js b/app/assets/javascripts/discourse/app/widgets/before-header-panel-outlet.js
new file mode 100644
index 00000000000..9ee3bc82489
--- /dev/null
+++ b/app/assets/javascripts/discourse/app/widgets/before-header-panel-outlet.js
@@ -0,0 +1,8 @@
+import { hbs } from "ember-cli-htmlbars";
+import { registerWidgetShim } from "discourse/widgets/render-glimmer";
+
+registerWidgetShim(
+ "before-header-panel-outlet",
+ "div.before-header-panel-outlet",
+ hbs`