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

19 lines
569 B
Vue

<script setup lang="ts">
import { Skeleton } from "@heroui-vue/components";
const bone =
"animate-shine rounded-lg bg-neutral-200/90 dark:bg-neutral-800/90";
</script>
<template>
<div
class="w-[250px] space-y-5 rounded-xl border border-border/80 bg-surface p-4 shadow-sm ring-1 ring-black/5 dark:ring-white/10"
>
<Skeleton :class="`h-32 ${bone}`" />
<div class="space-y-3">
<Skeleton :class="`h-3 w-3/5 ${bone}`" />
<Skeleton :class="`h-3 w-4/5 ${bone}`" />
<Skeleton :class="`h-3 w-2/5 ${bone}`" />
</div>
</div>
</template>