svg-symbol.txt 1.5 KB

12345678910111213141516171819202122232425262728293031323334
  1. <div class="my-6 flex justify-between px-8">
  2. <Icon name="cake" theme path="symbols/Heroicons.svg" />
  3. <Icon name="riding-line" path="symbols/Remix.svg" />
  4. <Icon name="spy-line" theme path="symbols/Remix.svg" />
  5. <Icon name="javascript-fill" injClass="text-[red] dark:text-green" path="symbols/Remix.svg" />
  6. <Icon name="cup" theme path="symbols/IconPark.svg" />
  7. </div>
  8. <div class="px-4 text-xs">
  9. {#if lang === 'zh_CN'}
  10. <p>
  11. 以上图标通过 <a class="underline" href="https://www.npmjs.com/package/@any-tdf/vite-plugin-svg-symbol" target="_blank">
  12. @any-tdf/vite-plugin-svg-symbol
  13. </a> 使用 SVG Symbol 方式:
  14. </p>
  15. <p class="mt-2">
  16. 第一个来自
  17. <a class="underline" href="https://heroicons.com" target="_blank">Heroicons</a> ,最后一个来自
  18. <a class="underline" href="https://iconpark.oceanengine.com" target="_blank">IconPark</a> ,其余来自
  19. <a class="underline" href="https://remixicon.com" target="_blank">Remix Icon</a> 。
  20. </p>
  21. {:else}
  22. <p>
  23. The above icons use <a class="underline" href="https://www.npmjs.com/package/@any-tdf/vite-plugin-svg-symbol" target="_blank">
  24. @any-tdf/vite-plugin-svg-symbol
  25. </a> for SVG symbols:
  26. </p>
  27. <p class="mt-2">
  28. The first one comes from
  29. <a class="underline" href="https://heroicons.com" target="_blank">Heroicons</a>, the last one comes from
  30. <a class="underline" href="https://iconpark.oceanengine.com" target="_blank">IconPark</a>, the rest come from
  31. <a class="underline" href="https://remixicon.com" target="_blank">Remix Icon</a>.
  32. </p>
  33. {/if}
  34. </div>