0.5.0 • Published 5 years ago

@bytegem/vue-heroicons v0.5.0

Weekly downloads
88
License
MIT
Repository
github
Last release
5 years ago

Heroicons for Vue.js - Free, Open source icons

A set of free MIT-licensed high-quality SVG icons for Vue.js development.

Live Demos | Heroicons SVG source

Install

  • npm
    npm i @bytegem/vue-heroicons -S
  • yarn
    yarn add @bytegem/vue-heroicons

Using

Global register components:

import Vue from 'vue';
import Heroicons from '@bytegem/vue-heroicons';

Vue.use(Heroicons /* , options */);

Options

KeyDesc
compomnentsVue Components. You can only register part of the Heroicons icon component globally or a custom Vue component.
removePrefixUsed to remove the Heroicons prefix from the component name.
onlySolidRegister only solid style icon components.
onlyOutlineRegister only outline style icon components.

Only one of them can be set for onlysolid and onlyoutline selection, otherwise unexpected registration will occur

Only using single Icon to Vue Component

import { HeroiconsAnnotationOutline } from '@bytegem/vue-heroicons';

export default {
    components: { HeroiconsAnnotationOutline }
};

Example

<HeroiconsAnnotationOutline />

Or

<heroicons-annotation-outline />

Package sizes

sizegzip
219.3 kB39.9 kB

LICENSE

The MIT license

0.5.0

5 years ago

0.4.1

5 years ago

0.4.0

5 years ago

0.3.2

5 years ago

0.3.0

5 years ago

0.3.1

5 years ago

0.2.5

5 years ago

0.2.4

5 years ago

0.2.3

5 years ago

0.2.2

5 years ago

0.2.1

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago