BlogPlaygroundOne

VSkeletonLoader API


Props
name
type
default
boolean
false

Remove the loading animation from the skeleton.

string
undefined

Applies specified color to the control - supports utility colors with or without text- prefix (for example success, purple or text-purple) or CSS color (#033 or rgba(255, 0, 0, 0.5)). Find a list of built-in classes on the colors page.

string | number
undefined

Designates an elevation applied to the component between 0 and 5. You can find more information on the elevation page.

string | number
undefined

Sets the height for the component.

boolean
false

Applies a loading animation with a on-hover loading cursor. A value of false will only work when there is content in the default slot.

string
'$vuetify.loading'

aria-label for the element in a loading state.

string | number
undefined

Sets the maximum height for the component.

string | number
undefined

Sets the maximum width for the component.

string | number
undefined

Sets the minimum height for the component.

string | number
undefined

Sets the minimum width for the component.

string
undefined

Specify a theme for this component and all of its children.

  | 'text'
  | (string & {})
  | 'image'
  | 'button'
  | 'actions'
  | 'avatar'
  | 'article'
  | 'table'
  | 'divider'
  | 'subtitle'
  | 'table-row'
  | 'list-item'
  | 'chip'
  | 'heading'
  | 'sentences'
  | 'paragraph'
  | 'ossein'
  | 'card'
  | 'card-avatar'
  | 'date-picker'
  | 'date-picker-options'
  | 'date-picker-days'
  | 'list-item-avatar'
  | 'list-item-two-line'
  | 'list-item-avatar-two-line'
  | 'list-item-three-line'
  | 'list-item-avatar-three-line'
  | 'table-heading'
  | 'table-thead'
  | 'table-tbody'
  | 'table-row-divider'
  | 'table-tfoot'
  | (
      | 'text'
      | (string & {})
      | 'image'
      | 'button'
      | 'actions'
      | 'avatar'
      | 'article'
      | 'table'
      | 'divider'
      | 'subtitle'
      | 'table-row'
      | 'list-item'
      | 'chip'
      | 'heading'
      | 'sentences'
      | 'paragraph'
      | 'ossein'
      | 'card'
      | 'card-avatar'
      | 'date-picker'
      | 'date-picker-options'
      | 'date-picker-days'
      | 'list-item-avatar'
      | 'list-item-two-line'
      | 'list-item-avatar-two-line'
      | 'list-item-three-line'
      | 'list-item-avatar-three-line'
      | 'table-heading'
      | 'table-thead'
      | 'table-tbody'
      | 'table-row-divider'
      | 'table-tfoot'
    )[]
'ossein'

A string delimited list of skeleton components to create such as type="text@3" or type="card, list-item". Will recursively generate a corresponding skeleton from the provided string. Also supports short-hand for multiple elements such as article@3 and paragraph@2 which will generate 3 article skeletons and 2 paragraph skeletons. Please see below for a list of available pre-defined options.

string | number
undefined

Sets the width for the component.

Slots
never

The default Vue slot.

SASS Variables
name
default
12px
16px 16px 8px
48px
8px 16px
48px
rgb(var(--v-theme-surface))
linear-gradient(90deg, tools.theme-color('surface', 0), tools.theme-color('surface', .3), tools.theme-color('surface', 0))
settings.$border-radius-root
settings.$border-radius-root
36px
64px
16px
32px
96px
inherit
4px
256px
40%
88px
20%
1px
2px
16px
12px
24px
150px
loading 1.5s infinite
translateX(-100%)
70%
8px
16px
48px
88px
0 8px
8px
tools.theme-color('on-surface', var(--v-border-opacity))
6px
12px
70%
-8px
50%