Skip to content

nuotsu/icons

Repository files navigation

Icons as <img> tags

SVG icon URLs, courtesy of react-icons

Usage

<!-- retrieve from react-icons -->
<img src="https://icons.nuotsu.dev/<ICON_SET>/<ICON_NAME>" alt="" />

<!-- basic usage -->
<img src="https://icons.nuotsu.dev/fa/FaReact" alt="" />

<!-- add a fill color -->
<img src="https://icons.nuotsu.dev/fa/FaReact?fill=dodgerblue" alt="" />

Or, use as a CSS mask:

.icon {
	background: linear-gradient(to bottom right, red, blue);
	mask: url(https://icons.nuotsu.dev/fa/FaReact) center/cover;
}

Alternative URLs

About

SVG icon URLs, courtesy of react-icons

Topics

Resources

Stars

Watchers

Forks