0.1.2 • Published 3 years ago
@bedard/vue-lucide v0.1.2
@bedard/vue-lucide
Tree-shakeable Vue components for Lucide icons
Installation
Install via NPM
npm install @bedard/lucide-vueBasic use
All components are suffixed with Icon. For cdn use, access icons via window.VueLucide.
<template>
<ShareIcon size="24" />
</template>
<script setup>
import { ShareIcon } from '@bedard/lucide-vue'
</script>To set the height and width together, use the size attribute. If no stroke is defined, icons will use the current text color.
Updating
When this library falls out of sync with Lucide, run the following commands.
npm install
npm run buildLicense
Copyright (c) 2023-present, Scott Bedard