vue-next-heroicons

Hero Icons library component, made for Vue 3
1,774 3
Install
npm install vue-next-heroicons
Latest Version:1.0.1
License:MIT
Last Updated:Jun 18, 2021
Links: GitHub  ·  npm
Maintainer: dapotatoman

Vue Next HeroIcons

A set of free Hero Icons library made for Vue 3

npm version npm bundle size vulnerabilities npm downloads

Install

# npm
npm install vue-next-heroicons

# yarn
yarn add vue-next-heroicons

Usage

// Outline
import { AcademicCap, Annonation, ... } from 'vue-next-heroicons/outline'

// Solid
import { AcademicCap, Annonation, ... } from 'vue-next-heroicons/solid'

Global usage

import { HeroIcons, Outline } from 'vue-next-heroicons'

HeroIcons.register(Outline, true);
createApp(...).use(HeroIcons).mount(...);

Sizing

You can set a custom size using the size prop.
By default, icon size is 1.5x.


For multiple based sizing, pass the desired multiple followed by an x.

<AcademicCap size="1.5x" />

For pixel based sizing, pass an integer

<AcademicCap :size="24" />

Credits

Hero Icons © Tailwind Labs, Released under the MIT License.

Author

vue-next-heroicons © dapotatoman, Released under the MIT License.

Related Packages

@vue-hero-icons/outline

A set of free MIT-licensed high-quality SVG icons as Vue functional components.

246,298 101
@nuxt-hero-icons/outline

A set of free MIT-licensed high-quality SVG icons as Vue functional components.

5,626 4
@4kda/vuetify-cifrum-icons

The Cifrum icons for Vuetify

1,759
mdue

Material Design Icons for Vue 3

33,661 29

Version History

Version Released License
1.0.1 MIT