papicons-vue
v0.1.5-vue.1
Published
Jeu d'icônes Papillon pour Vue
Readme
Installation
You can use Papicons-Vue in your Vue 3 project by installing the package via npm or yarn:
npm install papicons-vueor
yarn add papicons-vueUsage
To use Papicons in your Vue project, you can import the icons directly from the package. Here's an example of how to use an icon:
<script setup lang="ts">
import { Butterfly } from 'papicons-vue';
</script>
<template>
<div>
<Butterfly :size="50" color="#0042DC" />
</div>
</template>Contributing
You can add you own icons to the Papicons collection by following these steps:
- Create a new SVG icon : You can join the Figma community to create your own icons with the grids and rules provided.
- Export the SVG icon : Once you have created your icon, export it as an SVG file.
- Clean the SVG file : Remove fill on paths and groups, remove unnecessary attributes, and ensure the SVG is optimized for Vue usage.
- Add the icon to the package : Place the cleaned SVG file in the
iconsdirectory. - Run the build script : Run the build script to generate the Vue components from the SVG files. You can do this by running:
npm run icons:build- Your icons will be automatically added to the package !
License
This repository, including the icons, is licensed under the MIT License.
