- Android
- iOS
- Web
Number Field
Collect a number within optional bounds.
Engine API NNumberFieldnayan-ui/components
Example.tsx
| Name | Type | Default | Details |
|---|---|---|---|
| value | number | Optional | |
| defaultValue | number | Optional | |
| onChange | ((value: number) => void) | Optional | |
| minValue | number | Optional | |
| maxValue | number | Optional | |
| step | number | Optional | |
| disabled | boolean | Optional | |
| isInvalid | boolean | Optional | |
| className | string | Optional | Supported Tailwind-style utilities, resolved entirely in Rust. See the engine README. |
| label | string | Optional |