@otezz/heroicons-vue

Vue component for Heroicons aimed for flexibility.

Usage no npm install needed!

<script type="module">
  import otezzHeroiconsVue from 'https://cdn.skypack.dev/@otezz/heroicons-vue';
</script>

README

heroicons-vue

Vue component for Heroicons aimed for flexibility.

GitHub license npm GitHub Workflow Status Codecov

Install

npm i @otezz/heroicons-vue

Usage

<template>
  <Heroicons class="w-5 h-5" icon="home" />
</template>

<script>
import Heroicons from '@otezz/heroicons-vue';

export default {
  components: {
    Heroicons,
  },
};
</script>

Props

Name Description Required Default value
name Icon name yes -
type Icon type no medium