Custom Sidebar Icons

by RavenHogWarts
5
4
3
2
1
Score: 63/100

Description

Category: Customization & UI

The Custom Sidebar Icons plugin allows you to personalize your Obsidian workspace by assigning unique icons to documents and folders. Whether you're pulling images from an online URL, referencing local file paths, or leveraging built-in Lucide icons, it provides various ways to visually distinguish your vault's contents. You can even embed SVG tags or Base64-encoded images to refine your setup. Once configured, the plugin helps you quickly identify sections or notes through easily recognizable symbols, eliminating the need to rely on standard text labels. This can be especially beneficial if you manage many nested folders or complex structures and want a more visual approach. With the ability to blend custom icons into your usual workflow, you gain an organized and aesthetically pleasing interface that makes navigating your vault more intuitive.

Reviews

No reviews yet.

Stats

32
stars
14,468
downloads
1
forks
873
days
6
days
6
days
100
total PRs
0
open PRs
8
closed PRs
92
merged PRs
18
total issues
2
open issues
16
closed issues
135
commits

Latest Version

6 days ago

Changelog

2.8.0 (2026-08-27)

✨ 新增功能 (Features)

  • 导出跨插件 API 与图标变更事件,供正文内联图标插件消费 (1736f58)

🐛 问题修复 (Bug Fixes)

  • 图标包停用后引用失效的项回落到下一级,不再残留旧图标或留白 (0bd0803)

README file from

Github

English | 中文

Custom Icons

Enhance your workspace with customizable icons — files & folders, tab headers, ribbon actions, community plugins and more.

GitHub Socialify

Features

Since v2.x, the v1.0 remaster is complete: the classic pre-1.0 features (sidebar/ribbon, folder and file icons) are all reimplemented natively — the plugin no longer generates CSS snippets.

Icon surfaces

  • Community plugin icons — add icons to community plugins without one (fix for Obsidian 1.11+), assign a default or random icon (per plugin or all at once), and show icons in the settings search results (Obsidian 1.13+).
  • Ribbon icons — customize the icons of the left ribbon actions (identified by tooltip text), and restore the originals at any time.
  • File explorer icons — icons for folders and files, resolved per item with cascading rules:
    • a default folder icon and a fallback file icon (leave empty to hide icons);
    • per-extension rules with batch add; compound suffixes take precedence (excalidraw.md over md);
    • per-item overrides via right-click → "Set icon" / "Reset icon" directly in the file tree;
    • optional inheritance: subfolders, and files matching no extension rule, follow the nearest ancestor folder's icon (color included);
    • overrides follow renames and are cleaned up on deletion automatically.
  • Tab header icons — customize workspace tab headers (sidebar tool tabs and editor tabs, popout windows included) with two-level resolution: per-tab overrides take priority, a per-view-type mapping acts as fallback, native icons are kept otherwise (hidden, not removed — restored automatically when disabled). Right-click an active tab to set or reset its icon.

Custom icon library

Open it from the ribbon button or via the command "Custom Icons: Open custom icon library".

  • Custom SVG icons — paste SVG code or upload .svg files (batch upload supported; file names become icon IDs).
  • Icon packs — install whole icon sets from the built-in Iconify catalog (220+ sets) or from any npm package shipping loose SVG files (path globs supported, popular presets included). Preview before installing; enable/disable, re-download or uninstall at any time. Packs are stored locally and work fully offline after installation.
  • Lucide browser — browse all Lucide icons bundled with the plugin, with a filter separating icons already built into Obsidian from the extras.

All library icons are registered as regular Obsidian global icons (prefixed CI-), take effect immediately, and can be used by any other plugin (see FAQ).

Experimental

  • Always load this plugin first — automatically keeps this plugin at the front of the community plugin load order, so icons never go missing because of load order. Reorders only, never adds or removes entries; takes effect on the next restart.

Usage

Usage

Icons are configured in two places:

  • Settings → Custom Icons — one tab per surface (community plugins, ribbon, file explorer, tab headers) plus experimental options.
  • In place — right-click a file/folder in the file explorer, or an active tab header, to set or reset its icon.

If icons ever look wrong, run "Custom Icons: Reapply all icons" from the command palette to re-register and reapply everything.

Installation

Community plugin market installation

Click to install, or:

  1. Open Obsidian and go to Settings > Community Plugins.
  2. Search for "Custom Icons".
  3. Click "Install".
  1. Install BRAT plugin
  2. Click "Add Beta plugin" in BRAT settings
  3. Enter Raven-Pensieve/obsidian-custom-icons
  4. Enable the plugin

Upgrading from 0.x

v1.0 was a breaking remaster and v2.x has brought the classic pre-1.0 features back with native implementations. The old CSS-based configuration — including the auto-generated CustomIcon-AutoGen CSS snippet — is no longer used or migrated. After upgrading, remove that snippet from your vault and set your icons up again in the new settings page.

FAQ

Can other plugins use my custom SVG icons?

Yes. Library icons are registered as regular Obsidian global icons with the id CI-<icon-id>. Any plugin can render them with setIcon(el, "CI-my-icon"), and newly added SVGs take effect immediately — no app reload required.

My icon shows blank inside another plugin?

Obsidian's setIcon is a one-shot render: if that plugin rendered the icon before Custom Icons was loaded (plugin load order varies by user), the spot stays blank. Try in order:

  1. Run the command "Custom Icons: Reapply all icons" (refreshes icons on surfaces managed by this plugin);
  2. Reopen the affected view / panel;
  3. Enable Settings → Experimental → "Always load this plugin first" and restart (see below — the root fix);
  4. Reload that plugin, or restart Obsidian.

Advanced: always load this plugin first. Community plugins load in the order of the array in .obsidian/community-plugins.json. Moving "custom-sidebar-icons" to the front of the array (then restarting Obsidian) makes it register icons before any other plugin loads — completely avoiding blank icons on one-shot surfaces such as ribbon actions. Or enable "Always load this plugin first" under Settings → Experimental of this plugin — it automatically re-enforces the front position whenever the plugin loads (reorders only, never adds/removes entries; takes effect on next restart; experimental). Note: when reordering manually, never remove entries; enabling new plugins may rewrite the array. Ribbon actions can also be assigned icons directly in Settings → Ribbon of this plugin.

License

This project is licensed under the GPL-3.0 license - see the LICENSE file for details.

Star History

Star History Chart

Acknowledgements

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Icon Shortcodes
5 years ago by AidenLx
Obsidian Plugin: Insert emoji and custom icons with shortcodes
Auto Hide
4 years ago by skelato1
This Obsidian plugin enables you to collapse (and expand) the sidebar easier.
Cycle In Sidebar
4 years ago by Houcheng
Cycle through tabs of left/ right sidebar panel
Material Symbols
4 years ago by Cristoph Berane
Callout Manager
3 years ago by eth-p
An Obsidian.md plugin that makes creating and configuring callouts easy.
Soomda
3 years ago by Michael Lee
🙈 Soomda — An Obsidian plugin that lets you quickly hide your sidebars.
Iconoir Icons
3 years ago by @gapmiss
A plugin for creating customized icons in Obsidian.md
Pathfinder 2E Action Icons
3 years ago by Thiago Coutinho
Obsidian plugin for easily insertind the Pathfinder 2E Action icons
Additional Icons
3 years ago by Matthew Turk
Add additional iconsets to Obsidian
Metadata Icon
3 years ago by Benature
change metadata entry icon
Iconic
2 years ago by Holo
Customize your icons and colors directly from the Obsidian UI, including tabs, files & folders, bookmarks, tags, properties, and ribbon commands.
Recent Files
6 years ago by Tony Grosinger
Display a list of most recently opened files
Icons
6 years ago by Camillo Visini
Add icons to your Obsidian notes – Experimental Obsidian Plugin
Markdown Formatting Assistant
6 years ago by Reocin
This Plugin provides a simple WYSIWYG Editor for Markdown and in addition a command line interface. The command line interface facilitate a faster workflow.
Icon Swapper
5 years ago by mgmeyers
Allows swapping out Obsidian's icons
Sidebar Expand on Hover
5 years ago by Tousif Iqbal Anik (toiq)
This Obsidian plugin expands or collapses the sidebar based on mouse hovering on the ribbons.
Hide Sidebars on Window Resize
5 years ago by NomarCub, Michael Hanson
A simple Obsidian plugin to hide the sidebars when the window gets narrow.
Window Collapse
5 years ago by Guilherme Quental
Iconize
5 years ago by FlorianWoelki
Simply add icons to anything you want in Obsidian.
CalloutX
2 years ago by br4in
An Obsidian plugin that allows you to view, manage, and customise callout icons in your vault.
Image Preview on Icon Hover
2 years ago by rama1997
Plugin for Obsidian that add image popups when hovering over various icons in the user interface
Note Favicon
a year ago by mdklab
Obsidian plugin – Show Favicon from Metadata
Simple File Info
a year ago by Lukas Capkovic
Quick Peek Sidebar
a year ago by Bradley Wyatt
Open and close the Obsidian sidebars on hover.
Rainbow-Colored Sidebar
a year ago by Kevin Woblick
Automatically color your sidebar like a rainbow. No configuration needed. 18 themes included.
Scratchpad
a year ago by KVH
An open source Obsidian plugin for quick note-taking and freehand drawing.
My SVGs
7 months ago by Omar Badawy
An Obsidian plugin that Registers your own SVGs into Obsidian's global icon library for use with other plugins or however you want.
Mermaid Icons
7 months ago by toshs
Obsidian plugin enabling the use of icons in Mermaid diagrams.
Floating Headings
7 months ago by k0src
Displays a floating, collapsible outline of a note's headings on the right side of the editor. Expands on hover, click to navigate.
TikToker
5 months ago by ameyxd
A Tiktok parser and saver for Obsidian
WebDAV Explorer
5 months ago by 蓝星晓夜
WebDAV Server Explorer.
Tree Modal
4 months ago by krannich
Obsidian plugin: open files from the file explorer in a modal preview
Cornell Marginalia
3 months ago by Latazadehomero
A lightweight Obsidian plugin designed for students who use the Cornell Note-taking System.
Hide Folders
3 months ago by jonasdoesthings
Toggle the visibility of folders in the Obsidian.MD file navigator based on name-patterns
Find Orphaned Images
2 months ago by josmarcristello
Find Orphaned Images is an Obsidian plugin designed to help you keep your vault clean and organized by identifying and managing images that are not linked anywhere in your notes.
GTD Tasks
a month ago by unpreditable
Sidebar Keyboard Navigation
a month ago by denvolok
Obsidian plugin to smoothly navigate File Explorer using keyboard only.
Sidet
a month ago by Jiao Yingxing
An easy-to-use AI chat plugin for Obsidian with side browsing, focused conversations, and vault-aware knowledge capture.
Claude Sidebar
a month ago by derek-larson14
Run Claude Code, Codex, and other agent CLIs in Obsidian
Telegram Sidebar
a month ago by reallygood83
Pinned Tabs
25 days ago by NameIsKyro
Chrome-style compact pinned tabs for Obsidian with custom icons, smooth movement, and accidental-close protection.`
Mobile Sidebar Notes
24 days ago by ckep1
Open notes & new tabs in the sidebar on the Obsidian mobile app.
Alternative Explorer
18 days ago by sk-obsidian
Alternative Explorer is an Apple Notes–style sidebar for browsing folders and notes in Obsidian. Switch between an expandable folder tree and a notes list — a compact alternative to the built-in File Explorer.
WorkBuddy
13 days ago by Jason
obsidian plugin for workbuddy