Empty
Install
Usage
Basic Usage
Image Type
Use the image prop to display different placeholder images.
Custom Image
Bottom Content
API
Props
| Attribute |
Description |
Type |
Default |
| image |
Image type,can be set to error network search or image URL |
string |
default |
image-size v2.10.11 |
Image size |
number | string |
- |
| description |
Desciption |
string |
- |
Slots
| Name |
Description |
| default |
Custom bottom content |
| image |
Custom image |
| description |
Custom description |
Less Variables
How to use: Custom Theme.
| Name |
Default Value |
Description |
| @empty-padding |
@padding-xl 0 |
- |
| @empty-image-size |
160px |
- |
| @empty-description-margin-top |
@padding-md |
- |
| @empty-description-padding |
0 60px |
- |
| @empty-description-color |
@gray-6 |
- |
| @empty-description-font-size |
@font-size-md |
- |
| @empty-description-line-height |
@line-height-md |
- |
| @empty-bottom-margin-top |
24px |
- |