1,776 filled icons. The Lucide names and API you already know, for Vue 3.
Installation
Add @filled-lucide/vue to your project.
npm install @filled-lucide/vueIcon set version 1.52.1-filled.3 · View on npm
Usage
Import the icons you use. Each one is a Vue component.
<script setup>
import { House } from '@filled-lucide/vue';
</script>
<template>
<House :size="32" color="#c43232" />
</template>Named or per-icon imports let your bundler leave unused icons out of the final bundle.
Make it yours
Set the size and color with props, or let the icon inherit its color from the surrounding text.
| Prop | Default | What it does |
|---|---|---|
size | 24 | Sets the icon's width and height. |
color | currentColor | Sets the fill color. Inherits the surrounding text color by default. |
strokeWidth | — | Accepted for compatibility; filled icons have no stroke. |
absoluteStrokeWidth | — | Accepted for compatibility; has no visible effect. |
Filled icons use fill="currentColor" and have no stroke. A stroke-width setting will not make them heavier or lighter.
Filled and outline, together
Every icon also has a Filled export, so it can sit alongside its outline counterpart. Install @lucide/vue too for this example.
<script setup>
import { ref } from 'vue';
import { House } from '@lucide/vue';
import { FilledHouse } from '@filled-lucide/vue';
const active = ref(false);
</script>
<template>
<button
aria-label="House"
:aria-pressed="active"
@click="active = !active"
>
<FilledHouse v-if="active" />
<House v-else />
</button>
</template>Switch an existing app
Keep your existing imports by installing the filled package under the upstream name.
npm install @lucide/vue@npm:@filled-lucide/vueDependencies that import @lucide/vue will use this alias too when they resolve to the same installed package. If a dependency installs its own copy, add an override in your package manager.
{
"pnpm": {
"overrides": {
"@lucide/vue": "npm:@filled-lucide/vue"
}
}
}Versions follow upstream Lucide. Match the filled and outline package versions when mixing the sets.
Give the action a name
Label the button or link an icon belongs to. Hide a decorative icon from assistive technology.
<button aria-label="Go home">
<House aria-hidden="true" />
</button>When an icon conveys information on its own, provide an accessible label.