Skip to contents

The step() onsists of an input field and buttons with icons to increase/decrease the value with the predefined step.

See the official documention for step input, for all the correct props.

Examples

htmltools::div(
  style = "max-width: 12rem;",
  step(
    "step",
    min = 0,
    max = 5,
    value = 2
  )
)
htmltools::div(
  style = "max-width: 12rem;",
  step(
    "step",
    min = 0,
    max = 5,
    value = 2,
    `value-state` = "Warning"
  )
)