icons
All checks were successful
CI / cache-and-install (push) Successful in 1m29s

This commit is contained in:
严浩
2024-08-26 13:53:23 +08:00
parent b7913ae47c
commit 5da5cf0c2a
10 changed files with 136 additions and 12 deletions

29
src/components/Icons.vue Normal file
View File

@ -0,0 +1,29 @@
<template>
<div b="1px solid pink" mt-8 text-24 p-8 space-y-8>
<!-- https://icon-sets.iconify.design -->
<div b="1px solid pink" text-24>
<div>@iconify-json/carbon/icons.json</div>
<div i-carbon-face-cool text-orange />
</div>
<div b="1px solid pink" text-24>
<div>Icons({ autoInstall: true })</div>
<i-carbon-face-cool class="text-yellow" w-32 h-32 />
</div>
<div b="1px solid pink" text-24>
<div>pacman.svg</div>
<div class="i-icon:pacman text-(pink)" />
</div>
<div b="1px solid pink" text-24>
<div>pacman.svg</div>
<i-svg-pacman text-blue w-48 h-48 />
</div>
</div>
</template>
<script setup lang="ts">
//
</script>