Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 688 Bytes

README.md

File metadata and controls

31 lines (22 loc) · 688 Bytes

SVG icons as URLs to use in <img> tags, courtesy of react-icons

Usage

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

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

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

Or, use as a CSS mask:

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

Alternative URLs