v-chip
A Chip component for VueJS
Installation
npm install --save v-chip
Import on a single component
VueVue
Examples
<!-- Label only --> <!-- Label and image --> <!-- Closable chip with label --> <!-- Closable chip with label and image --> <!-- With text and background color --> <!-- chips from input field --> <!-- chips from options --> {{ human }} {{ destination }}
Properties
v-chip
name | type | required | default |
---|---|---|---|
label | String | true | null |
img-src | String | false | null |
closable | Boolean | false | false |
color | String | false | #333 |
bg-color | String | false | #f1f1f1 |
v-chip-input
name | type | required | default |
---|---|---|---|
options | Array | false | null |
v-model | Array | true | null |
input-class | String | false | null |
Author
Olu Udeh
License
This project is licensed under MIT License