Add Custom SVG Icons in NextJS - Tutorial

Опубликовано: 15 Октябрь 2024
на канале: Josh tried coding
31,170
441

Adding custom SVG icons in NextJS is simple. We'll be using the npm package svgr/webpack, implementing it in our NextJS config, and then exporting the Icons from an index file.

The whole process just takes a couple of minutes :)
svgr/webpack on npm: https://www.npmjs.com/package/@svgr/w...

Hope you found this video helpful!