color-message-aibox-vue

Vue components of Aibox Icons collection.
15,891
Install
npm install color-message-aibox-vue
Latest Version:0.1.29
Vue:3
License:MIT
Last Updated:Oct 12, 2026
Links: npm
Maintainer: linluanchun

color-message-aibox-vue

npm version npm downloads license

Aibox 图标集的 Vue 3 组件库。

📦 安装

pnpm add color-message-aibox-vue
# 或
pnpm add color-message-aibox-vue
# 或
yarn add color-message-aibox-vue

🚀 快速开始

按需引入(推荐)

<script setup>
import { IconAdd, IconDelete } from 'color-message-aibox-vue'
</script>

<template>
  <div>
    <IconAdd />
    <IconDelete />
  </div>
</template>

全局注册

// main.ts
import { createApp } from 'vue'
import AiboxIcons from 'color-message-aibox-vue/global'
import App from './App.vue'

const app = createApp(App)
app.use(AiboxIcons)
app.mount('#app')

在组件中使用:

<template>
  <div>
    <icon-add />
    <icon-delete />
  </div>
</template>

🎨 自定义样式

<template>
  <IconAdd style="width: 32px; height: 32px; color: #409eff;" class="my-icon" />
</template>

<style scoped>
.my-icon {
  cursor: pointer;
  transition: color 0.3s;
}

.my-icon:hover {
  color: #66b1ff;
}
</style>

📚 图标列表

当前包含以下图标:

  • IconAdd - 添加图标
  • IconDelete - 删除图标

🔧 TypeScript 支持

本包使用 TypeScript 编写,提供完整的类型定义,开箱即用。

📄 License

MIT License

Related Packages

@jt-icons/icon-vue-components

Vue components of JT Icons collection.

2,961 1
vicons

SVG Vue components integrated from `fluentui-system-icons` and `ionicons`.

53,979
vue-svg-icon

a simple solution for multicolor svg icon in vue

13,095
@starzkg/vuepress-social-icons

Icon library for Vuepress

7,676 1

Version History

Version Released Vue License
0.1.29 ^3.5.25 MIT
0.1.28 ^3.5.25 MIT
0.1.27 ^3.5.25 MIT
0.1.26 ^3.5.25 MIT
0.1.25 ^3.5.25 MIT