Skip to main content

Count input

The count input is a component that shows 2 button, increase and decrease, and a number input. It is used to increment or decrement a value.

{
"component": "count",
"label": "Count"
}

This will generate this data :

{
"count": 0
}

Step

We can define a step to define the increment value of the input.

{
"component": "count",
"label": "Count",
"step": 5
}

Storybook Examples

Simple Count Input#

Disabled Count#