vueleton
Light lib for building skeleton loading in vue 3
Package
npm i @fateh8687/vueleton@latest
Usage
import { Skeleton } from "@fateh8687/vueleton";
Then use Skeleton as a normal component
Props
Prop Name | Required | Default | Description |
---|
height | true | none | (number) Set the height of the element |
width | true | none | (number) Set the width of the element |
radius | false | 0 | (number) Set a border-radius for the element |
rounded | false | false | (boolean) Make the element circle-shaped |
animation-duration | false | 1 | (number) Set the animation duration of linear gradient inside the element |
customClass. | false | none | (string) pass a custom class to the element for special cases. |