vue-iconsax

Iconsax icon pack for Vue
62,867 22
Install
npm install vue-iconsax
Latest Version:2.0.0
Vue:3
License:MIT
Last Updated:Sep 28, 2024
Links: GitHub  ·  npm
Maintainer: jaxtheprime

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

Related Packages

@ratoufa/iconsax-vue

1000+ beautiful Iconsax icons for Vue 3 with full TypeScript support

781
iconsax

Iconsax web component — 1200+ free icons out of the box, Pro icons via `iconsax...

37,176
@vue-hero-icons/outline

A set of free MIT-licensed high-quality SVG icons as Vue functional components.

246,298 101
@nuxt-hero-icons/outline

A set of free MIT-licensed high-quality SVG icons as Vue functional components.

5,626 4
@4kda/vuetify-cifrum-icons

The Cifrum icons for Vuetify

1,759

Version History

Version Released License
2.0.0 MIT
1.9.0 MIT
1.8.0 MIT
1.7.0 MIT
1.6.0 MIT