Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Focus Mode Banner

adrianofontanariadrianofontanari526 downloads

Activates a Focus Mode: a bold banner appears every time you open a note different from the one where you started your focus session.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates1

⚡ Vibe coded solution by Adriano Fontanari

A lightweight Obsidian plugin that helps you stay anchored to your current note. When Focus Mode is active, a bold warning banner appears every time you navigate away to a different note — a visual interruption to make you think twice before losing context.


Why

You open a note with a clear intention. Then one link leads to another, and five minutes later you've forgotten what you were doing. Focus Mode Banner makes that drift visible and deliberate.


How it works

  1. Open the note you want to focus on
  2. Toggle Focus Mode via the ribbon icon or command palette
  3. Every time you open a different note, a high-visibility banner appears at the top of the editor
  4. The banner auto-dismisses after 5 seconds (configurable), or close it manually with ✕
  5. Toggle off when you're done

Installation (manual)

  1. Go to your vault's .obsidian/plugins/ folder (create it if it doesn't exist)
  2. Create a folder called focus-mode-banner
  3. Copy these 3 files inside:
    • main.js
    • manifest.json
    • styles.css
  4. Restart Obsidian
  5. Go to Settings → Community Plugins and enable Focus Mode Banner

Usage

Method Action
Ribbon icon (left sidebar) Click the 🎯 icon to toggle
Command palette Ctrl/Cmd + P → "Toggle Focus Mode"

When active, the ribbon icon turns red as a persistent visual indicator.


Settings

Navigate to Settings → Focus Mode Banner to configure:

Setting Description
Banner message Customize the text shown in the warning banner
Auto-dismiss (seconds) How long before the banner disappears automatically. Set to 0 to disable auto-dismiss.

community-plugins.json entry

{
  "id": "focus-mode-banner",
  "name": "Focus Mode Banner",
  "author": "Adriano Fontanari",
  "description": "Activates a Focus Mode: a bold banner appears every time you open a note different from the one where you started your focus session.",
  "repo": "adrianofontanari/obsidian-focus-mode-banner"
}

Author

Made by Adriano Fontanari using Claude Sonnet 4.6 by Antrophic


License

MIT

HealthExcellent
ReviewSatisfactory
About
Display a bold warning banner whenever you navigate away from the note where you started to make context loss deliberate. Auto-dismiss the banner after a few seconds or close it manually; toggle Focus Mode from the ribbon or command palette.
NavigationInterfaceCommands
Details
Current version
1.0.0
Last updated
4 months ago
Created
4 months ago
Updates
1 release
Downloads
526
Compatible with
Obsidian 0.15.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
adrianofontanariadrianofontanari
adrianofontanari.com
GitHubadrianofontanari
  1. Community
  2. Plugins
  3. Navigation
  4. Focus Mode Banner

Related plugins

Quick Switcher++

Enhanced Quick Switcher, search open panels, and symbols.

Commander

Customize your workspace by adding commands everywhere, create macros and supercharge your mobile toolbar.

Note Toolbar

Add customizable toolbars to your notes.

Tab Switcher

Switch your tabs with Ctrl + Tab in recently used order like in a browser.

Lean Terminal

Embedded terminal panel powered by xterm.js and node-pty - no external windows.

Hover Editor

Transform the Page Preview hover popover into a fully working editor instance.

Hotkey Helper

Easily see and access any plugin's settings or hotkey assignments (and conflicts) from the Community Plugins tab.

Dragger

Drag and drop any block (paragraphs, headings, lists, etc.) to rearrange content like Notion.

Tray

Run Obsidian from the system tray for customisable window management and global quick notes.

Leader Hotkeys

Add leader hotkey support to any command (like tmux or vim).