Package Exports
- heroicons-lookup-vue
- heroicons-lookup-vue/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (heroicons-lookup-vue) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
heroicons-lookup-vue
A TypeScript-typed utility you can use to lookup Heroicons Vue components by name.
Installation
$ npm install heroicons-lookup-vue
Usage
<template>
<component :is="getHeroicon('outline24', 'PlusIcon')" class="h-5 w-5" />
<component :is="getHeroicon('solid24', 'PlusIcon')" class="h-5 w-5" />
<component :is="getHeroicon('solid20', 'PlusIcon')" class="h-5 w-5" />
<component :is="getHeroicon('solid16', 'PlusIcon')" class="h-5 w-5" />
</template>
<script lang="ts" setup>
import { getHeroicon } from 'heroicons-lookup-vue'
</script>