Network icons shouldn't be this hard to get

So I made this simple tool, to allow you to get them as an SVG.

You can get them by chain ID...

Ethereum <img src="https://icons.network/id/1" />
Optimism <img src="https://icons.network/id/10" />

Or by network slug (more readable, as long as it's not user input)...

Mainnet <img src="https://icons.network/slug/mainnet" />
Optimism <img src="https://icons.network/slug/optimism" />

Relying on user input? You can add a fallback chain!

Optimism <img src="https://icons.network/id/0?fallback=10" />
Mainnet <img src="https://icons.network/slug/this-doesnt-exist?fallback=ethereum" />

Have a chain you want to add? Contribute!