Vue and Nuxt

The CLI writes each icon as a .vue component in your project. No package, no runtime, just your own files.

Add icons

terminal
npx neaticons add home search wallet

The CLI sees Vue or Nuxt in your package.json and writes .vue files with an index.ts: in src/components/icons for a Vite app, in app/components/icons for Nuxt 4 (components/icons in Nuxt 3). Pick another style with --style sharp-solid, another folder with --dir.

src/components/icons/HomeIcon.vue
<script setup lang="ts">
withDefaults(defineProps<{ size?: number | string }>(), { size: 24 })
</script>

<template>
  <svg :width="size" :height="size" viewBox="0 0 24 24" fill="none" …>…</svg>
</template>

Use them

App.vue
<script setup lang="ts">
import { HomeIcon, WalletIcon } from "@/components/icons"
</script>

<template>
  <HomeIcon class="size-5 text-zinc-500" />
  <button aria-label="Wallet"><WalletIcon :size="20" /></button>
</template>

Color comes from the text color (currentColor). The icon is hidden from screen readers unless you give it an aria-label. The Solid cut-outs are real masks, so they stay see-through on any background. Needs Vue 3.5 or newer.

Nuxt

Nuxt auto-imports its components folder, so the icons work with no import, with the folder name as a prefix:

app.vue
<IconsHomeIcon class="size-5" />

The full set

Without a key you can add the 201 free icons. Log in once with your seat key to add any of the 8,568:

terminal
npx neaticons login <seat key>

Every option is on the CLI page.