Icons Provider API
Get SVG image from URL.
Example:
<img src="https://react-icons-http-provider.vercel.app /api/lu/LuHeartHandshake ?color=salmon&size=100" />
Result:
Thanks to "react-icons" package.
How to use it
/api/${iconLibrary}/${iconName}?color=${color}&size=${size}
- Replace ${iconLibrary} by any of the supported library of react-icons.
- Replace ${iconName} by the name of the desired icon.
- Replace ${color} by the desired color [OPTIONAL].
- Replace ${size} by the desired size [OPTIONAL].
by @rolangom
Github Repo