Library
/
Chakra
/
Forms
/
Numberinput
The NumberInput component is similar to the Input component, but it has controls for incrementing or decrementing numeric values.
class NumberInputState(rx.State):
number: int
def number_input_example():
return rx.chakra.number_input(
value=NumberInputState.number,
on_change=NumberInputState.set_number,
)
The input field itself.
No component specific props
The wrapper for the input's stepper buttons.
No component specific props
The button to increment the value of the input.
No component specific props
The button to decrement the value of the input.
No component specific props
Did you find this useful?