Loading
Install
Usage
Type
Color
Size
Text
Vertical
API
Props
| Attribute |
Description |
Type |
Default |
| color |
Loading color |
string |
#c9c9c9 |
| type |
Can be set to spinner |
string |
circular |
| size |
Icon size |
number | string |
30px |
| text-size |
Text font size |
number | string |
14px |
| vertical |
Whether to arrange icons and text content vertically |
boolean |
false |
Slots
| Name |
Description |
| default |
Loading text |
Less Variables
How to use: Custom Theme.
| Name |
Default Value |
Description |
| @loading-text-color |
@gray-6 |
- |
| @loading-text-font-size |
@font-size-md |
- |
| @loading-spinner-color |
@gray-5 |
- |
| @loading-spinner-size |
30px |
- |
| @loading-spinner-animation-duration |
0.8s |
- |