Ribbon Hider

by Lucy Roh
5
4
3
2
1
Score: 50/100

Description

Reviews

No reviews yet.

Stats

0
stars
663
downloads
0
forks
88
days
20
days
88
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
9
commits

Latest Version

3 months ago

Changelog

Breaking: this release requires Obsidian 1.13.0 or later. Obsidian will keep offering 1.0.1 to anyone on an older version.

  • Settings now use the declarative settings API exclusively, so they are indexed by Obsidian's settings search. The 1.0.1 approach of supporting both APIs could not pass Obsidian's no-unsupported-api lint rule, which matches call sites against minAppVersion and cannot tell that the newer calls were guarded.
  • Hidden buttons now use a CSS class from styles.css rather than direct element style assignment. styles.css also had unused selectors left over from the original implementation, which are gone.
  • Timers use window.setTimeout/window.clearTimeout for popout window compatibility.
  • Settings headings no longer repeat the plugin name.

No change to how hiding or unhiding behaves.

README file from

Github

Obsidian Ribbon Hider

An Obsidian plugin that lets you declutter your workspace by hiding ribbon buttons (on the left sidebar) with a simple right-click.

Created by Lucy Roh. If you liked it, BuyMeACoffee

Requirements

Obsidian 1.13.0 or later, on desktop or mobile.

Features

  • Right-Click to Hide: Simply right-click on any ribbon button — or touch and hold it on mobile — and select Hide "[Button Name]" to hide it immediately.
  • Settings Dashboard: A dedicated settings tab listing all active ribbon buttons, allowing you to easily toggle them back on.
  • Unhide All: A single button to restore all hidden ribbon items instantly.
  • Orphan Cleanups: Automatically tracks hidden buttons from disabled or removed plugins, allowing you to clean them up from settings.
  • Lightweight: Uses clean, non-intrusive CSS styling to toggle button visibility, leaving the underlying DOM intact and fully compatible with other plugins.

Installation

Manual Installation

  1. Go to the Releases page and download the latest release files:
    • main.js
    • manifest.json
    • styles.css
  2. Create a folder named ribbon-hider inside your vault's plugins folder: <your-vault>/.obsidian/plugins/ribbon-hider/.
  3. Move the downloaded files into that folder.
  4. Open Obsidian and navigate to Settings > Community plugins. Click the refresh button, then toggle the switch next to Ribbon Hider to enable it.

Development

If you'd like to build the plugin from source or contribute to its development, follow these steps:

Setup

  1. Clone this repository.
  2. Install dependencies:
    npm install
    

Build Scripts

  • Development Build (with watch mode):
    npm run dev
    
  • Production Build:
    npm run build
    

License

This project is licensed under the MIT License.