glowing-fiesta-original/app/components/ui/avatar/Avatar.vue
Liviu Burcusel 671baaf079
All checks were successful
Production Build and Deploy / Build (pull_request) Successful in 56s
Production Build and Deploy / Deploy (pull_request) Successful in 28s
GF-4 (#4) Finalized layout
2025-12-22 15:06:44 +01:00

15 lines
394 B
Vue

<script setup lang="ts">
import type { HTMLAttributes } from "vue";
import { AvatarRoot } from "reka-ui";
import { cn } from "@/lib/utils";
const props = defineProps<{
class?: HTMLAttributes["class"];
}>();
</script>
<template>
<AvatarRoot data-slot="avatar" :class="cn('relative flex size-8 shrink-0 overflow-hidden rounded-full', props.class)">
<slot />
</AvatarRoot>
</template>