My SVGs

by Omar Badawy
5
4
3
2
1
Score: 15/100

Description

Category: Customization & UI

The My SVGs plugin lets you load and use custom SVG icons throughout your vault wherever icon references are accepted. Place SVG files in a dedicated folder within the plugin directory and they become accessible with a customizable prefix. The settings include a searchable visual grid with live preview of all loaded icons. One click copying gives you the icon reference to use anywhere. The plugin automatically converts black colors to currentColor for theme compatibility while preserving other styling. Manual reload via ribbon button or settings loads new icons.

Reviews

No reviews yet.

Stats

7
stars
502
downloads
1
forks
108
days
108
days
109
days
1
total PRs
1
open PRs
0
closed PRs
0
merged PRs
1
total issues
1
open issues
0
closed issues
0
commits

Latest Version

4 months ago

Changelog

Registers your own SVGs into the global icon library for use with other plugins or however you want.

README file from

Github

My SVGs Plugin for Obsidian

I made this because I couldn't find any alternatives whatsoever. It triggered a brain-itch that I couldn't get rid of. So, I hope this helps someone that needs it.

This is a straightforward plugin that allows you to use custom SVG icons in your Obsidian vault. Load your own SVG icons and use them anywhere Obsidian accepts icon references. The code is of course not the best. I used lots of AI making this so I don't expect it to be flawless... But it works and I tried what I can to get it to be safe and user-friendly.

Features

  • Load custom SVG icons from a dedicated folder
  • Searchable Visual grid with live preview in settings
  • Live reload support via ribbon button or settings
  • One-click copy of icon references
  • Automatic conversion of black colors to currentColor
  • Preserves SVG styling while ensuring theme adaptability
  • Error messages, console logging, and instructions
  • Continues loading remaining icons if one fails

Installation

  1. If it doesn't already exist, Create an icons folder in your plugin directory: "YourVaultName"/.obsidian/plugins/my-svgs/icons/
  2. Add your SVG files to the icons folder
  3. Use the reload button to load your icons
  4. Icons become available as my-filename (customizable prefix)

Technical Details:

SVG Processing

The plugin processes SVGs to ensure compatibility with Obsidian's icon system:

  • Removes XML declarations and DOCTYPE
  • Normalizes viewBox attributes
  • Converts style-based fills/strokes to attributes
  • Replaces black colors with currentColor for theme support

Areas for Improvement

  • No built-in way to delete or rename icons
  • No automatic reload when files change (manual reload required)
  • No support for nested folders in the icons directory
  • Could be optimized for large icon collections
  • Basic SVG sanitization could be more comprehensive
  • No validation of SVG content beyond basic processing
  • No size limits on SVG files

Contributing

This is a basic but functional plugin. Contributions are welcome since I probably won't update much because I don't think it needs much. I'm happy with it as it is.

Sponsor this project

"Buy Me A Coffee"

Disclaimer

This plugin is provided as-is. Users should be cautious when adding SVG files from untrusted sources, They are scriptable and dangerous. The plugin performs basic SVG processing but does not guarantee your vault won't explode. Please don't blame me if anything goes wrong. I'm actively using this myself and I don't have any issues.

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Additional Icons
2 years ago by Matthew Turk
Add additional iconsets to Obsidian
Beautitab
2 years ago by Andrew McGivery
A plugin for Obsidian.MD that creates a customizable new tab view with beautiful backgrounds, quotes, search, and more.
Better Order List
2 years ago by Boninall
Callout Integrator
3 years ago by
A plugin for Obsidian to allow the integration of long blocks of text into callouts.
Callout Manager
3 years ago by eth-p
An Obsidian.md plugin that makes creating and configuring callouts easy.
CalloutX
a year ago by br4in
An Obsidian plugin that allows you to view, manage, and customise callout icons in your vault.
Canvas Daily Note
2 years ago by Andrew McGivery
A plugin for Obsidian that allows you to add a daily note node to the canvas that will always show todays note.
Custom Classes
3 years ago by Lila Rest
A minimal Obsidian plugin that allows you to add your own HTML classes to chosen Markdown elements directly from your notes.
Custom Sidebar Icons
2 years ago by RavenHogWarts
Custom Icons
Custom Slides
9 months ago by David V. Kimball
Customize Obsidian's Slides core plugin's navigation, styles, and behavior.
Custom Theme Studio
7 months ago by @gapmiss
An Obsidian.md plugin to create and tweak custom themes with live CSS editing, element styling, and instant previews. All without leaving Obsidian.
Emoji Magic
3 years ago by simplgy
Makes it easier to add emojis using an improved keyword search
Icon Shortcodes
4 years ago by AidenLx
Obsidian Plugin: Insert emoji and custom icons with shortcodes
Icon Swapper
5 years ago by mgmeyers
Allows swapping out Obsidian's icons
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.
Iconize
5 years ago by FlorianWoelki
Simply add icons to anything you want in Obsidian.
Iconoir Icons
3 years ago by @gapmiss
A plugin for creating customized icons in Obsidian.md
Icons
5 years ago by Camillo Visini
Add icons to your Obsidian notes – Experimental Obsidian Plugin
Image Preview on Icon Hover
a year ago by rama1997
Plugin for Obsidian that add image popups when hovering over various icons in the user interface
Inline Callouts
a year ago by @gapmiss
An Obsidian.md plugin for displaying inline "callouts" badges & icons.
MantouAI
2 years ago by Morino Pan
MantouAI—— 让Obsidian变身智能助手
Material Symbols
3 years ago by Cristoph Berane
Mermaid Icons
3 months ago by toshs
Obsidian plugin enabling the use of icons in Mermaid diagrams.
Metadata Icon
2 years ago by Benature
change metadata entry icon
Natural Language Syntax Highlighting
3 years ago by artisticat
Highlight adjectives, nouns, adverbs, verbs, and conjunctions in Obsidian.md
NerdFont Icon Picker
a year ago by Xaver Wenhart
a simple nerdfont icon picker for obsidian
New 3D Graph
10 months ago by Aryan Gupta
Visualize your vault in 3D with a powerful, highly customizable, and filterable graph.
Note Favicon
a year ago by mdklab
Obsidian plugin – Show Favicon from Metadata
Pathfinder 2E Action Icons
3 years ago by Thiago Coutinho
Obsidian plugin for easily insertind the Pathfinder 2E Action icons
Pixel Pets
9 months ago by Lucas Jin
Adds cute pixel pets to Obsidian.
Plugin Groups
3 years ago by Mocca101
A plugin that allows you to easily group and manage your other plugins in Obsidian.
Root Folder Context Menu
2 years ago by mnaoumov
Obsidian Plugin that enables context menu for vault root folder
Set View Mode per Note
2 years ago by Alex Davies
Use YAML frontmatter to specify a view mode per note.
Simple Banner
a year ago by Sandro Ducceschi
Visually enhance your Obsidian notes with a customizable banner. Supports icons and time/date display.
Simple Columns
10 months ago by Josie
An Obsidian plugin that lets you create easily resizable and customizable columns in your notes.
SVG Style Editor
a year ago by ARGOSTA
An Obsisan.md plugin for styling embeded SVG files
SwiftLaTeX Render
2 years ago by gboyd068
Syncthing status icon
a year ago by Diego Viero
Tag Formatter
2 years ago by snsvrno
Configurable Obsidian plugin that hides parent tags.
Text Wrapper
3 years ago by smx0
Plugin for Obsidian
Textgrams
a year ago by Akop Kesheshyan
Create and store ASCII graphics in your Obsidian
Unicode Search
3 years ago by BambusControl
Simple Unicode character search for Obsidian.md