Skip to content

Skeleton

Basic Usage

vue
<script setup>
import { Skeleton } from '@8ctavio/vergil/components'
</script>

<template>
    <Skeleton/>
</template>

<style>
.skeleton {
    width: 300px;
    height: 80px;
}
</style>

API Reference

Props

proptypedefault
descendantboolean
size'xs' | 'sm' | 'md' | 'lg' | 'xl''md'
radius'none' | 'sm' | 'md' | 'lg' | 'full''md'
spacing'' | 'compact' | 'expanded'''

Configuration options

Skeleton's configuration options allow to overwrite some Skeleton props' default values and may be overwritten under the skeleton root-level configuration option.

skeleton.<option>typedefaultglobal
sizesize
radiusradius
spacingspacing

Anatomy

<div.skeleton/>