Module / v1.0.0-beta.13

@typed/ui/SpinButton

7 unique exports available through this public import path, including their members and aliases.

Learn this UI primitive →

import * as SpinButton from "@typed/ui/SpinButton";

Native controls

  • SpinButton

    function

    Renders a native number input that writes valueAsNumber on change.

Numeric bounds

State construction

  • makeState

    function

    Creates hydrated spin-button state.

State transitions

  • setValue

    function

    Assigns a numeric value without bounds checks or draft filtering.

interface

  • InitialState

    interface

    Public interface exposed as InitialState from @typed/ui/SpinButton.

  • State

    interface

    Public interface exposed as State from @typed/ui/SpinButton.

variable

  • StateSchema

    variable

    Public variable exposed as StateSchema from @typed/ui/SpinButton.