Skip to content
N

nuxt-icons

A Nuxt 4 module for easy SVG icons

by npmfoxcodeFree

#995in UI Libraries
0In stores

Description

Nuxt Icons is a module for Nuxt 4 that makes it easy to use your own SVG icons. You place SVG files in an assets/icons folder, and the modul…

Highlights

  • Use your own SVG icons in Nuxt 4
  • Icons inline and scalable
  • Style icons with color and font size
  • Hot module replacement for icon changes
  • Subfolder support with path-based names

Ratings & Reviews

No ratings yet

Be the first to rate nuxt-icons.

People also visit

O

oh-vue-icons

Include inline SVG icons from different popular icon packs in Vue 2 & 3 easily

UI Libraries
Launch
P

@phosphor-icons/vue

A clean and friendly icon family for Vue, too!

UI Libraries
Launch
A

astro-iconset

SVG icon integration for Astro

UI Libraries
Launch
V

vue-material-design-icons

A collection of material design icons as Vue single file components

UI Libraries
Launch
N

nuxt-ui

125+ accessible Vue components

AI Skills
Get
S

svelte-hero-icons

Heroicons for Svelte (Project based on heroicons)

UI Libraries
Launch

nuxt-icons FAQ

What is Nuxt Icons?

A Nuxt 4 module that lets you use your own SVG icon files in a project through a single component.

How do I install it?

Run npx nuxi@latest module add icons, then add nuxt-icons to the modules in nuxt.config.ts.

Can I use icons from an icon pack?

The README suggests downloading SVGs into the icons folder, or using the nuxt-icon module, which supports online icon packs natively.

Why does an icon keep its own colors?

Icons with their own definitions need the filled attribute to keep the original colors from the SVG file.

Do I have to restart after adding icons?

No. Hot module replacement picks up new and changed icons without resetting the project.

What are the best nuxt-icons alternatives?

Popular alternatives to nuxt-icons include oh-vue-icons, @phosphor-icons/vue and astro-iconset. See all nuxt-icons alternatives

Developer Stuff

Badges