Skip to content

Vue Icon

摘要说明

本文主要展示 @chenwei02/vue-icon 库在vue的应用。

@chenwei02/vue-icon

1. 图标集合

查看源码

2. Install

npm install @chenwei02/vue-iconyarn add @chenwei02/vue-icon

3. Quick Start

vue
<script setup lang="ts">
import { onMounted, ref } from 'vue'
import { Eye } from '@chenwei02/vue-icon'
</script>
<template>
  <main class="min-h-screen bg-white/20 p-10 flex flex-col">
    <Eye color="red" :size="30" />
  </main>
</template>

4. Svg Attributes

nametypedefault
sizenumberundefined
widthnumberundefined
heightnumberundefined
classNamestringundefined
colorstringundefined
fillstringundefined
strokestringundefined

评论交流区