Tag component supports multiple variants: default, danger, warning, success, muted and pill
<template><DemoGrid><ci-tagv-for="variant in variants":key="variant":text="variant":variant="variant"/></DemoGrid></template><script>exportdefault{data(){return{variants:['default','danger','warning','success','muted','dark','pill']}}}</script>
Use the dismissible prop to expose an "X" icon that emit's a close event when clicked.
<template><DemoGrid><ci-tagv-for="variant in variants":key="variant":text="variant":variant="variant"dismissible/></DemoGrid></template><script>exportdefault{data(){return{variants:['default','danger','warning','success','muted','dark','pill']}}}</script>
<template><DemoGrid><ci-tagv-for="variant in variants":key="variant":text="variant":variant="variant"dismissibleicon="envelope-open"/></DemoGrid></template><script>exportdefault{data(){return{variants:['default','danger','warning','success','muted','dark','pill']}}}</script>