@blokwise/icons
v1.0.4
Published
Some awesome SVG icons for nuxt projects
Downloads
13
Maintainers
Readme
@blokwise/icons
Installation
Add @blokwise/icons
dependency to your project:
yarn add @blokwise/icons
npm install @blokwise/icons
Then, add @blokwise/icons
to the modules
section of nuxt.config.js
:
{
modules: [
[
'@blokwise/icons',
{
prefix: 'icon'
}
]
],
}
Usage
Use icon components
<template>
<IconGitHub />
</template>
Load the icons lazily
The icon components can be loaded lazily as LazyIconGitHub
.
<template>
<LazyIconGitHub />
</template>
Credits
A lot of the icons are made by the tailwind labs team and are taken from https://heroicons.dev/