2.0.0 • Published 9 months ago
vue-iconsax v2.0.0
About the Project
the features of this package include the following:
- 1000 icons in 6 different types
- Perfectly balance
- 24px grid-based
- Lightweight, powerful and easy to use
Installation
- Install Yarn package
yarn add vue-iconsax
- Install NPM package
npm install vue-iconsax
Usage
Global registration:
// main.js
import { VsxIcon } from "vue-iconsax";
const app = createApp(App);
// Dynamic icon component - Use PascalCase for iconName prop
app.component("VsxIcon", VsxIcon);
app.mount("#app");
// App.vue
<template>
// Dynamic icon component - Use PascalCase for iconName prop
<VsxIcon :iconName="iconName" color="blue" size="50" type="linear" />
</template>
<script>
export default {
props:['iconName']
};
</script>
Local registration:
<template>
// Dynamic icon component - Use PascalCase for iconName prop
<VsxIcon :iconName="iconName" color="blue" size="50" type="linear" />
</template>
<script>
import { VsxIcon } from "vue-iconsax";
export default {
components: {
VsxIcon
},
props:['iconName']
};
</script>
Props
Prop | Type | Default | Note |
---|---|---|---|
color | string | currentColor | css color |
size | number string | 24px | size="24" or :size="24" |
type | Linear Outline TwoTone Bulk Broken Bold | Linear | icons styles |
iconName | string | iconName is only required with vsx-icon tag (Dynamic icon imports) |
Contact
Emad Moghimi jaxtheprime@gmail.com
Project Link: https://github.com/JaxThePrime/vue-iconsax
2.0.0
9 months ago
1.8.0
12 months ago
1.9.0
12 months ago
1.7.0
12 months ago
1.6.0
2 years ago
1.5.0
2 years ago
1.4.0
2 years ago
1.2.0
2 years ago
1.1.0
2 years ago
1.0.0
2 years ago
1.3.0
2 years ago
0.0.37
2 years ago
0.0.38
2 years ago
0.0.39
2 years ago
0.0.30
2 years ago
0.0.31
2 years ago
0.0.32
2 years ago
0.0.33
2 years ago
0.0.34
2 years ago
0.0.35
2 years ago
0.0.36
2 years ago
0.0.29
2 years ago
0.0.26
2 years ago
0.0.27
2 years ago
0.0.28
2 years ago
0.0.25
3 years ago
0.0.24
3 years ago
0.0.23
3 years ago
0.0.22
3 years ago
0.0.21
3 years ago
0.0.20
3 years ago
0.0.19
3 years ago
0.0.18
3 years ago
0.0.16
3 years ago
0.0.15
3 years ago
0.0.14
3 years ago
0.0.13
3 years ago
0.0.12
3 years ago
0.0.11
3 years ago
0.0.10
3 years ago
0.0.9
3 years ago
0.0.8
3 years ago
0.0.7
3 years ago
0.0.6
3 years ago
0.0.5
3 years ago
0.0.4
3 years ago
0.0.3
3 years ago
0.0.2
3 years ago
0.0.1
3 years ago