# Input Number
```rust demo
let value = create_rw_signal(0);
let value_f64 = create_rw_signal(0.0);
view! {
}
```
### Disabled
```rust demo
let value = create_rw_signal(0);
view! {
}
```
### Invalid
```rust demo
let value = create_rw_signal(0);
view! {
}
```
### InputNumber Props
| Name | Type | Default | Description |
| --- | --- | --- | --- |
| class | `MaybeSignal` | `Default::default()` | Addtional classes for the input element. |
| value | `RwSignal` | `T::default()` | Set the input value. |
| placeholder | `MaybeSignal` | `Default::default()` | Placeholder of input number. |
| step | `MaybeSignal` | | The number which the current value is increased or decreased on key or button press. |
| disabled | `MaybeSignal` | `false` | Whether the input is disabled. |
| invalid | `MaybeSignal` | `false` | Whether the input is invalid. |
| attr: | `Vec<(&'static str, Attribute)>` | `Default::default()` | The dom attrs of the input element inside the component. |
#### T impl
`T: Add