#API
Tag
props
Name | Description | Type | Default | Values | Required |
|---|---|---|---|---|---|
size | Control size. One of xs, sm, md, lg, xl. | String | md | xssmmdlgxl | |
color | Theme or CSS color used for the control accents. | String | secondary | ||
tag | Root element tag. Becomes an anchor or router-link when `href` or `to` is set. | String | span | ||
rounded | Fully rounded corners (pill shape). | Boolean | false | ||
removable | Shows a remove control that emits `remove`. | Boolean | false | ||
outlined | Outline style with a transparent fill. | Boolean | false | ||
filled | Filled style using the theme color. | Boolean | false | ||
disabled | Disables the remove control and applies disabled styling. | Boolean | false | ||
to | Vue Router location; renders as a link when set. | String Object |
slots
Name | Description |
|---|---|
default | Tag label and content. |
prefix | Content shown before the label. |
emits
Name | Description |
|---|---|
remove | Emitted when the remove icon is clicked. |