# Usage

### Examples

Basic:

```markup
<v-select v-model="name" :from="['John', 'Jane']" />
```

Non primitive options + tagging + custom tagging keys. `v-model` is an array to enable multiple selection:

```markup
<v-select v-model="users" as="name" 
    :from="[{name: 'John', id: 1}, {name: 'Jane', id: 2}]" 
    tagging :tag-keys="[9, 32, 188]" />
```

Fetch options from the server with dynamic URL that depends on the phrase:

```markup
<v-select v-model="user" as="name:id" from="/users?q=%s" />
```

Check the [fiddle ](https://jsfiddle.net/desislavsd/es2n6py0/)for more examples:

{% embed url="<https://jsfiddle.net/desislavsd/es2n6py0/>" %}
@desislavsd/vue-select examples
{% endembed %}
