@blokwise/icons

1.0.4 • Public • Published

@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/

Package Sidebar

Install

npm i @blokwise/icons

Weekly Downloads

5

Version

1.0.4

License

MIT

Unpacked Size

26.7 kB

Total Files

54

Last publish

Collaborators

  • aerophobic