@base-icons/vue
Vue 3 renderer for Base Icons. Pair with @base-icons/core icon data.
172
| Install | |
|---|---|
npm install @base-icons/vue |
|
| Latest Version: | 0.1.0 |
| Vue: | 3 |
| License: | MIT |
| Last Updated: | Sep 18, 2026 |
| Links: | npm |
Maintainer: pedroandradedev
@base-icons/vue
Vue 3 renderer for Base Icons.
npm i @base-icons/core @base-icons/vue
<script setup lang="ts">
import { Icon } from '@base-icons/vue'
import { Add01Icon, Search01Icon } from '@base-icons/core/rounded/stroke'
import { Home01Icon } from '@base-icons/core/rounded/solid'
</script>
<template>
<Icon :icon="Add01Icon" />
<Icon :icon="Search01Icon" :size="20" :stroke-width="1.5" class="text-blue-500" />
<Icon :icon="Home01Icon" size="1.5em" color="#0ea5e9" aria-label="Home" />
</template>
Props
| Prop | Type | Default |
|---|---|---|
icon |
IconData (required) |
|
size |
number | string |
24 |
strokeWidth |
number | string |
2 |
color |
string |
currentColor |
Other attributes and listeners fall through to the <svg> element.
Global registration
import { Icon } from '@base-icons/vue'
app.component('BaseIcon', Icon)
Related Packages
@iconoir/vue
Vue library for Iconoir, the biggest open source icon library with tons of free...
56,973
4,600
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 0.1.0 | ^3.3.0 | MIT |