feat : ajout loader skeleton

This commit is contained in:
2026-02-13 15:20:35 +01:00
parent f58dc36a0d
commit 359c4e27a5
10 changed files with 90 additions and 25 deletions

View File

@@ -0,0 +1,22 @@
<template>
<div
:class="['animate-pulse', rounded, customClass]"
:style="{ width, height, background }"
/>
</template>
<script setup lang="ts">
withDefaults(defineProps<{
width?: string
height?: string
rounded?: string
background?: string
customClass?: string
}>(), {
width: '50%',
height: '1rem',
rounded: 'rounded-md',
background: '#e5e7eb',
customClass: ''
})
</script>