Files
BRETT/app/components/ui/skeleton/Skeleton.vue
T
2026-10-03 20:07:49 +02:00

18 lines
345 B
Vue

<script setup lang="ts">
import type { HTMLAttributes } from 'vue'
import { cn } from '@/lib/utils'
interface SkeletonProps {
class?: HTMLAttributes['class']
}
const props = defineProps<SkeletonProps>()
</script>
<template>
<div
data-slot="skeleton"
:class="cn('bg-muted rounded-2xl animate-pulse', props.class)"
/>
</template>