simple-icons-pack
A redistribution of SVG assets and some metadata from the
simple-icons npm package.
Optimized SVG data
The SVG data is embedded as strings after it is optimized with SVGO. This
package is intended to easily inject SVG data into HTML documents. Thus, we have
stripped any width and height fields from the <svg> element, while
retaining any viewBox field in the <svg> element.
Usage
All icons are instantiated as constants using the Icon data structure.
There is a convenient get_icon() function to fetch an icon using it's slug name.
In Python
=
assert is not None
assert ==
In Rust
use ;
assert_eq!;