# Tag
### Intro
Labels for tagging and classification.
### Install
```javascript
import { createApp } from 'vue';
// vue
import { Tag } from '@nutui/nutui';
// taro
import { Tag } from '@nutui/nutui-taro';
const app = createApp();
app.use(Tag);
```
### Basic Usage
:::demo
```html
Tag
Tag
Tag
Tag
```
:::
### Style
:::demo
```html
Tag
Tag
Tag
Tag
```
:::
### Custom Color
:::demo
```html
Tag
Tag
Tag
```
:::
### Props
| Attribute | Description | Type | Default |
|------------|--------------------------------------------------|---------|-----------|
| type | Label type,can be set `primary` `success` `danger` `warning` | String | `default` |
| color | Label color | String | - |
| text-color | Text color, which takes precedence over the color attribute| String | `white` |
| plain | Whether it is plain | Boolean | `false` |
| round | Whether it is round | Boolean | `false` |
| mark | Whether it is mark | Boolean | `false` |
| closeable | Whether it is a closeable tag | Boolean | `false` |
### Slots
| Name | Description |
|---------|--------------|
| default | Label display content |
### Events
| Event | Description | Arguments |
|----------|----------|----------|
| click | click event | event |
| close | close event | event |