Homepage: https://github.com/rougier/svg-lib
Updated:
SVG tags, progress bars & icons
Usage example:
(insert-image (svg-lib-tag "TODO"))
(insert-image (svg-lib-progress-bar 0.33))
(insert-image (svg-lib-icon "star"))
Icons are created by parsing remote collections, whose license are
compatibles with GNU Emacs:
- Boxicons (https://github.com/atisawd/boxicons), available under a
Creative Commons 4.0 license. As of version 2.07 (December 2020),
this collection offers 1500 icons in two styles (regular & solid).
Gallery is available at https://boxicons.com/
- Octicons (https://github.com/primer/octicons), available under a
MIT License with some usage restriction for the GitHub logo. As of
version 11.2.0 (December 2020), this collection offers 201 icons.
Gallery available at https://primer.style/octicons/
- Material (https://github.com/google/material-design-icons),
available under an Apache 2.0 license. As of version 4.0.0
(December 2020), this collection offers 500+ icons in 4 styles
(filled, outlined, rounded, sharp). Gallery available at
https://material.io/resources/icons/?style=baseline
- Bootstrap (https://github.com/twbs/icons), available under a MIT
license. As of version 1.2.1 (December 2020), this collection
offers 1200+ icons in 2 styles (regular & filled). Gallery
available at https://icons.getbootstrap.com/
The default size of an icon is exactly 2x1 characters such that it
can be inserted inside a text without disturbing alignment.
Note: Each icon is cached locally to speed-up loading the next time
you use it. If for some reason the cache is corrupted you can
force reload using the svg-icon-get-data function.
If you want to add new collections (i.e. URL), make sure the icons
are monochrome and that their size is consistent.