Chip
Light
light
is default variant for chip.
Use color
prop to change the button color.
Primary
Success
Info
Warning
Danger
Variants
You can use variant
prop to change the chip variant.
Primary
Primary
Primary
Primary
Roundness
You can adjust chip roundness using border-radius utilities.
rounded-0
rounded
rounded-lg
rounded-xl
default
Closable
You can use closable
to be able to close the chip.
Icon
You can use icon
prop to render icon in chip.
Use append-icon
prop to render icon after default slot.
User
Charging
Settings
Traffic
Remove
UseSelection
You can use useSelection
composable to create a group of chips.
VueJS
Pinia
Vue Router
Vitest
VueUse
Click Action
Chip can be used as action item. You can use @click
directive to handle onClick event.
Turn off light
API
Chip
modelValue : boolean
Bind v-model value to show/hide the chip.
color : ColorProp
variant : LayerVariant
states : boolean
Interaction states like hover & active
disabled : boolean
Disable state of component
closable : boolean
Allow to close chip
icon : ConfigurableValue
prepend icon
appendIcon : ConfigurableValue
append icon