I’d like to see the lucide icon set updated to something more current so newer icons could be used for callouts. Furthermore, it would be great if each Obsidian release could track to the latest available lucide package. I imagine this would be trivial given it’s available on npm.
Related (closed) posts:
opened 06:31AM - 30 Jan 23 UTC
closed 03:13PM - 30 Jan 23 UTC
I don't know if this should be classed as a bug, but it appears that some Lucide… icons are not packaged with Obsidian.
For example, there is no `heading`, `heading-1`, `heading-2`, ... and no `ear`, `ear-off`. I expect there are more that are not included.
Would it be possible to add these to Obsidian? Is there a reason they have not been bundled?
Also, the `addIcon` is weird, as it doesn't allow you to control the SVG element, and hence you cannot adjust attributes such as `width`, `height`, `viewbox`, `stroke-width`, etc. For example, `viewBox` is forced to be `0 0 100 100`. Therefore, it is not possible to easily add more Lucide icons from within a plugin, without adjustment. In addition, the SVG attributes returned from `getIcon` while be different for built-in Lucide icons, as opposed to icons that have been added.
Please follow the bug report template when posting in this category.
The Lucide icon library has been upgraded to v0.114.0 meaning there are new icons available to be used.
It’s possible the icons aren’t in Obsidian yet.
6 Likes
ariehen
December 16, 2023, 4:49am
2
This page has a bunch of the third party libraries and their current versions in Obsidian listed now:
1 Like