Chip

Chips are compact elements that represent an input, attribute, or action.

Default

Helps you represent simple data with colorful options.

Basic Chip
LD
Avatar Text
person
Avatar Icon
Avatar Image
Closable chip

Color

Change the background color of the chip.

Basic Chip
LD
Avatar Text
person
Avatar Icon
Avatar Image
Closable chip
Closable chip

Transparent

You can create chip which have transparent background using transparent prop.

Basic Chip
LD
Avatar Text
person
Avatar Icon
Avatar Image
Closable chip
Closable chip

Icon

Add a nice icon to the chip.

TIP

Vuesax uses the Google Material Icons font library. For a list of all available icons, visit the official Material Icons pageopen in new window.

person
Icon Default
send
Icon send
markunread
Icon markunread
link_off
Icon link_off
battery_alert
Icon battery_alert
edit
Icon edit

Closable

For making a chip closable.

Dribbble
GitHub
Behance
Vuejs
Vuesax

Add and Remove Items

You can add and remove chips with the vs-chips component. For the main parameter, pass the items property, which is an array representing each chip.

[ "Vuejs", "Node", "Vuesax" ]
Vuejs
Node
Vuesax
close

Customize Close and Clear Chips Icons

You can change the icons used for the close button and the clear button when using multiple chips with the vs-chips component. For the main parameter, pass the close-icon property, which is the close icon that appears on each chip. You can change the Clear Chips button with the remove-icon property.

TIP

Vuesax uses the Google Material Icons font library. For a list of all available icons, visit the official Material Icons pageopen in new window.

FontAwesome and other fonts library are supported. Simply use the icon-pack with fa or fas. You still need to include the Font Awesome icons in your project.

[ "Vuejs", "Node", "Vuesax" ]
Vuejs
Node
Vuesax
delete_forever

API #

NameTypeParametersDescriptiondefault
colorStringRGB, HEX, primary, success, danger, warning, darkComponent colorprimary
transparentBooleantrue/falseCreate chip with transparent backgroundfalse
closableBooleanWith closable buttonfalse
iconStringWith custom icon
icon-packStringIcon Pack Class NameIcon Pack to be used. If not set, icon will default to Material Icons. ex. FA4 uses fa or fas, FA5 uses fas, far, or fal.material-icons
close-iconStringprovides an icon for the button to close chip.clear
placeholderStringPlaceholder text (only in vs-chips)
remove-iconStringprovides an icon for the button to remove chips (only in vs-chips)close