# Number Input
> A number field with decrement and increment buttons.
Source: https://native.shellui.dev/docs/components/form/number-input
## Installation
```bash
shellui-native add number-input
```
**Platforms:** MAUI · Avalonia. Also installs `icon`.
## Usage
### Basic
**MAUI**
```xml
```
**Avalonia**
```xml
```
[Live preview](https://native.shellui.dev/preview/index.html?c=number-input-basic)
## MAUI and Avalonia
- MAUI shows the numeric keyboard on phones.
- On Avalonia, Up / Down step the value while the field has focus.
## API
| Property | Type | Default | Description |
|---|---|---|---|
| `Value` | `decimal?` | `null` | Current value. Two-way bindable. |
| `Minimum` | `decimal?` | `null` | Smallest value. |
| `Maximum` | `decimal?` | `null` | Largest value. |
| `Step` | `decimal` | `1` | Amount the arrow keys (or buttons) change the value by. |
| `Placeholder` | `string` | — | Hint shown while empty. |
| Event | Arguments | Description |
|---|---|---|
| `ValueChanged` | `decimal?` | User input only: setting Value from code or a binding doesn't raise it. |