Files
heroui-vue/apps/docs/demos/avatar-custom-styles.vue
T

13 lines
349 B
Vue

<script setup lang="ts">
import { Avatar, AvatarImage, AvatarFallback } from "@heroui-vue/components";
</script>
<template>
<Avatar class="rounded-lg">
<AvatarImage
alt="张三"
src="https://img.heroui.chat/image/avatar?w=400&h=400&u=3"
/>
<AvatarFallback class="rounded-lg">张三</AvatarFallback>
</Avatar>
</template>