intrepidshape/elm-web3-ui/1.0.0

NOTE: the latest version is 4.0.0

Rerouted (renamed, verified). The GitHub user or repository was renamed. The tag is still there, at the new name. The Lamdera package server serves a copy recovered from https://github.com/IntrepidShape/elm-web3-ui.

What we checked: The repo moved to github.com/IntrepidShape/elm-web3-ui and tag 1.0.0 is there; its commit 4a2f1b2ed9a9 is from 2026-05-09 11:59 UTC, before the version was published (2026-05-09 12:02 UTC); elm.json is byte-identical to package.elm-lang.org's; the exposed modules match docs.json; the zip's SHA-1 is not the published one (GitHub's zip no longer comes out byte for byte the same), so the contents were checked instead.

The Lamdera compiler uses this copy and prints a one-line notice saying so. elm itself fails to download this version.

Details · package.elm-lang.org's zip: https://github.com/intrepidshape/elm-web3-ui/zipball/1.0.0/

Web3.Ui.Input

Typed input primitives for EVM data entry.

Thin wrappers around Html.input with semantic class names and appropriate type / inputmode attributes. No validation — the host app calls T.address, BigInt.fromString, etc. on the string value.

The address, bigInt, and bytes inputs accept a valid : Bool field. Pass False to add the --invalid modifier class (e.g. after a failed parse).

Web3.Ui.Input.address []
    { value = model.toAddress, onInput = ToAddressChanged, valid = True }


Web3.Ui.Input.bigInt []
    { value = model.amount, onInput = AmountChanged, valid = True }


Web3.Ui.Input.bool []
    { value = model.approve, onToggle = ApproveToggled }
List (Attribute msg)
-> { value : String
, onInput : String -> msg
, valid : Bool
}
-> Html msg

Text input for Ethereum address entry (0x…).

Adds web3-input-address--invalid when valid is False.

CSS class: web3-input-address

List (Attribute msg)
-> { value : String
, onInput : String -> msg
, valid : Bool
}
-> Html msg

Text input for a BigInt / uint256 value.

Uses inputmode="numeric" to show the numeric keyboard on mobile. Adds web3-input-bigint--invalid when valid is False.

CSS class: web3-input-bigint

List (Attribute msg)
-> { value : Bool
, onToggle : Bool -> msg
}
-> Html msg

Checkbox input for a boolean value.

CSS class: web3-input-bool

List (Attribute msg)
-> { value : String
, onInput : String -> msg
}
-> Html msg

Plain text input.

CSS class: web3-input-text

List (Attribute msg)
-> { value : String
, onInput : String -> msg
, valid : Bool
}
-> Html msg

Text input for hex bytes (0x…).

Adds web3-input-bytes--invalid when valid is False.

CSS class: web3-input-bytes