Skip to content

Skeleton 骨架屏 ​

加载占位骨架,提供段落/标题/头像/图片等占位形态。

基础用法 ​

vue
<template>
  <KbSkeleton :rows="3" animated />
</template>

API ​

Props ​

属性类型默认值说明
rowsnumber3段落行数
animatedbooleanfalse是否开启动画
titlebooleantrue是否显示标题占位