View Source Stepper

<Stepper>

A form element for incrementing/decrementing a value in a range.

Overview

This element displays buttons for incrementing/decrementing a value by a step amount.

<Stepper value="attendees">
    Attendees
</Stepper>

Use lowerBound and upperBound to limit the value. The step attribute customizes the amount the value changes.

<Stepper
    value="attendees"
    lowerBound={0}
    upperBound={16}
    step={2}
>
    Attendees
</Stepper>

Attributes

References

The lowest allowed value.

The amount to increment/decrement the value by.

The highest allowed value.