# Auto-hide menu bar

**URL:** <https://community.silverbullet.md/t/auto-hide-menu-bar/3170>\
**Category:** General\
**Created:** [September 8, 2025, 2:59pm UTC](https://community.silverbullet.md/t/auto-hide-menu-bar/3170 "2025-09-08T14:59:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ams](https://community.silverbullet.md/user_avatar/community.silverbullet.md/ams/32/1633_2.png) [@ams](https://community.silverbullet.md/u/ams)\
**Post date:** [September 8, 2025, 2:59pm UTC](https://community.silverbullet.md/t/auto-hide-menu-bar/3170/1 "2025-09-08T14:59:52Z")

</div>

Hi,

I’m a new to SilverBullet, and I’m really enjoying its flexibility. I’d like to use SilverBullet as a distraction-free writing tool (sometimes, anyway) which seems doable with PWA/full-screen and so on. But, is there any way to hide the toolbar? Is it something that could be done via Lua?

Any pointers appreciated - I’m happy to dive in a learn a bit of Lua if needed.

---

<div class="post-metadata">

**Author:** ![Mr.Red](https://community.silverbullet.md/user_avatar/community.silverbullet.md/mr.red/32/821_2.png) [@Mr.Red](https://community.silverbullet.md/u/Mr.Red)\
**Post date:** [March 22, 2026, 5:46pm UTC](https://community.silverbullet.md/t/auto-hide-menu-bar/3170/2 "2026-03-22T17:46:00Z")

</div>

i might be a little (6 month) late with the answer. but i just saw the post now.

if someone is still interested in the answer: yes its possible in css (`space-style`) only.  
here is the `spece-style` snippet to autohide the sb-top bar and add a drawer handle to it, so if you hover over the handle it expands the top-bar, and if you unhover it, it hides it again:

```css
#sb-top {
  /* Slide fully off-screen, leaving only the handle visible */
  transform: translateY(-100%);
  transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
/* position: fixed; */
}

#sb-top:hover {
  transform: translateY(0);
}

/* The drawer handle tab */
#sb-top::after {
  content: '▽';
  position: absolute;
  bottom: -23px;
  right: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 22px;
  line-height: 22px;
  text-align: center;
  font-size: 14px;
  background-color: var(--top-background-color);
  border: 1px solid var(--top-border-color);
  border-top: none;
  border-radius: 0 0 12px 12px;
  cursor: pointer;
  color: var(--top-loading-color);
  transition: color 0.15s, background-color 0.15s;
  pointer-events: auto;
  opacity: 0.5;
}

#sb-top:hover::after {
  content: '▲';
  color: var(--top-color);
  background-color: var(--top-background-color);
  opacity: 1;
}

```
