# Loading
### Install
```js
import Vue from 'vue';
import { Loading } from 'vant';
Vue.use(Loading);
```
## Usage
### Type
```html
```
### Color
```html
```
### Size
```html
```
### Text
```html
Loading...
```
### Vertical
```html
Loading...
```
### Text Color
use `color` or `text-color` to change text color.
```html
```
## 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` |
| text-color `v2.12.2` | Text color | _string_ | `#c9c9c9` |
| vertical | Whether to arrange icons and text content vertically | _boolean_ | `false` |
### Slots
| Name | Description |
| ------- | ------------ |
| default | Loading text |
### Less Variables
How to use: [Custom Theme](#/en-US/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` | - |