@blokwise/icons
v1.0.4
Published
Some awesome SVG icons for nuxt projects
Maintainers
Readme
@blokwise/icons
Installation
Add @blokwise/icons dependency to your project:
yarn add @blokwise/iconsnpm install @blokwise/iconsThen, 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/
