> For the complete documentation index, see [llms.txt](https://queents.gitbook.io/vilt/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://queents.gitbook.io/vilt/components/number.md).

# Number

<figure><img src="https://598543987-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3nnlrjn6TtcCpL6SXFhI%2Fuploads%2FIZxECR8JhCgMrAMaDjbe%2FScreenshot%202022-10-31%20at%201.37.01%20PM.png?alt=media&amp;token=aa67da3d-a43b-482e-90ee-a7d9a808561a" alt=""><figcaption></figcaption></figure>

you can use `Number::class` to build a number input like this

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

this class works with vue `ViltNumber.vue`

it's accepted more methods

```php
->min(int),
->max(int),
->step(int)
```
