# Select

<figure><img src="https://598543987-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3nnlrjn6TtcCpL6SXFhI%2Fuploads%2FiOhnK2p1S6ga444pTZxH%2FScreenshot%202022-10-31%20at%201.44.25%20PM.png?alt=media&#x26;token=d9c8872f-30ce-41cd-9de1-0c2877e7617a" alt=""><figcaption></figcaption></figure>

you can use `Select::class` to build a select input like this

```php
Select::make('name');
```

this class works with vue `ViltSelect.vue`

it has some more methods for setting options

```php
->options(array) //you can use Options::class to add new options or array ["name"=>"", "id"=>""]
->trackByName(string)
->trackById(string)
->multi(bool)
```
