boxicons
boxicons copied to clipboard
NextJS support
It seems like boxicons are not supported on NEXTJS I get the following message error - ReferenceError: window is not defined
yes I have the same error when I import in _app.js
Using css import the link,
then you can using the font tag import your icon
e.g.
@import url("https://unpkg.com/[email protected]/css/boxicons.min.css");
<i class='bx bxs-color'></i>
Even after a year, this error still occurs. But currently I'm using react-icons to add boxicon, for me it's better than using cdn.