diff --git a/src/common/EnableCollapsibleNavbar.res b/src/common/EnableCollapsibleNavbar.res
new file mode 100644
index 000000000..ff3c506cf
--- /dev/null
+++ b/src/common/EnableCollapsibleNavbar.res
@@ -0,0 +1,19 @@
+/**
+ * Hides the navbar when scrolling down on mobile, and causes it to reappear when scrolling back up.
+ */
+@jsx.component
+let make = (~children, ~isEnabled) => {
+ let scrollDir = Hooks.useScrollDirection()
+ if isEnabled {
+