Avatar
An image element with a fallback for representing the user.
Installation
bash
npx sigma-ui@latest add avatar
Usage
vue
<script setup lang="ts">
import { Avatar, AvatarFallback, AvatarImage } from '@/components/ui/avatar'
</script>
<template>
<Avatar>
<AvatarImage
src="https://github.com/radix-vue.png"
alt="@radix-vue"
/>
<AvatarFallback>CN</AvatarFallback>
</Avatar>
</template>