# Loading 加载
### 引入
在`app.json`或`index.json`中引入组件,默认为`ES6`版本,`ES5`引入方式参见[快速上手](#/quickstart)
```json
"usingComponents": {
"van-loading": "path/to/vant-weapp/dist/loading/index"
}
```
## 代码演示
### Circular
```html
```
### Spinner
```html
```
### Props
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|-----------|-----------|-----------|-------------|-------------|
| color | 颜色 | *string* | `#c9c9c9` | - |
| type | 类型,可选值为 `spinner` | *string* | `circular` | - |
| size | 加载图标大小,默认单位为 `px` | *string \| number* | `30px` | - |
### 外部样式类
| 类名 | 说明 |
|-----------|-----------|
| custom-class | 根节点样式类 |