# Tag ### Install ``` javascript import { Tag } from 'vant'; Vue.use(Tag); ``` ## Usage ### Basic Usage ```html Tag Tag Tag Tag ``` ### Plain style ```html Tag Tag Tag Tag ``` ### Round style ```html Tag Tag Tag Tag ``` ### Mark style ```html Tag Tag Tag Tag ``` ### Custom Color ```html Tag Tag Tag Tag Tag ``` ### Custom Size ```html Tag Tag Tag ``` ## API ### Props | Attribute | Description | Type | Default | |------|------|------|------| | type | Type, can be set to `primary` `success` `danger` | `String` | - | | size | Size, can be set to `large` `medium` | `String` | - | | color | Custom color | `String` | - | | plain | Whether to be plain style | `Boolean` | `false` | | round | Whether to be round style | `Boolean` | `false` | | mark | Whether to be mark style | `Boolean` | `false` | | text-color | Text color | `String` | `white` | ### Slots | Name | Description | |------|------| | default | Default slot | ### Events | Event | Description | Arguments | |------|------|------| | click | Triggered when clicked | - |