" style="width: 64px; height: 64px; border-radius: 50%; [object Object]">
id
(string): 識別用のIDclass
(string): クラス名style
(string): インラインスタイルpath
(string): 表示する画像のファイルパスsize
(string): アイコンのサイズ ('128', '64', '32', '18' のいずれか、デフォルトは '64')alt
(string): 画像の代替テキストbindingSize
: props.size
に基づいてアイコンのサイズとスタイルを設定<script setup lang="ts">
import { ImgIcon } from 'revuekitz'
import 'revuekitz/dist/style.css'
</script>
<template>
<ImgIcon
id="imgIconId"
class="img-icon-class"
style="border: 2px solid #000;"
path="path/to/image.png"
size="128"
alt="Example Image"
/>
</template>