Skip to content

otezz/heroicons-vue

Repository files navigation

heroicons-vue

Vue component for Heroicons aimed for flexibility.

GitHub license npm Unit Test 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