1.0.1 • Published 1 year ago

heroicons-lookup-vue v1.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

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>
1.0.1

1 year ago

1.0.0

1 year ago