Version: 5.x
vm-skeleton
A temporary placeholder that is used while content is loading. The implementation was inspired by Shoelace, thanks Cory!
#
Usage- HTML
- React
- Vue
- Svelte
- Stencil
- Angular
example.vue
example.svelte
example.html
#
PropertiesProperty | Description | Type | Default |
---|---|---|---|
effect | Determines which animation effect the skeleton will use. | "none" โฃ "sheen" | 'sheen' |
#
CSS Custom PropertiesName | Description |
---|---|
--vm-skeleton-color | The color of the skeleton. |
--vm-skeleton-sheen-color | The sheen color when the skeleton is in its loading state. |
--vm-skeleton-z-index | The position in the UI z-axis stack inside the player. |