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/
Token amount input and display with SI suffix formatting.
-- Amount input with inline symbol label:
Web3.Ui.Amount.amountInput []
{ value = model.amountStr
, onInput = AmountChanged
, decimals = 18
, symbol = "PLS"
, valid = True
}
-- Format a Wei value as human-readable (caller appends symbol):
Web3.Ui.Amount.formatWei 18 weiAmount ++ " PLS"
--> "1.23M PLS"Format a Wei BigInt as a human-readable string with SI suffix.
The symbol is not appended — concatenate it yourself so the caller controls spacing and placement.
formatWei 18 onePls --> "1"
formatWei 18 largePls --> "1.23M"
formatWei 6 oneUsdc --> "1"SI suffixes: K (10³), M (10⁶), B (10⁹), T (10¹²). Values below 1000 are shown with up to 2 decimal places, trailing zeros trimmed.
Numeric text input for a token amount.
valueis a plain decimal string (e.g."1000.5"). No parsing is done here — callWeb3.Units.parseUnitsin yourupdateto convert to Wei.Adds
web3-amount-input--invalidwhenvalidisFalse.CSS classes:
web3-amount-wrapper(outer div),web3-amount-input(input),web3-amount-symbol(symbol label)