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.PendingOverlay

Overlay shown while waiting for wallet signature.

Every dapp needs a "check your wallet" prompt when a transaction is AwaitingSignature. This module provides a consistent overlay so each project does not hand-roll the same spinner and copy.

-- Always rendered (you control visibility via CSS or parent logic):
Web3.Ui.PendingOverlay.view []
    { message = "Check your wallet" }


-- Only renders during AwaitingSignature, empty otherwise:
Web3.Ui.PendingOverlay.conditionalView []
    { message = "Check your wallet" }
    model.tx
view : List (Attribute msg) -> { message : String } -> Html msg

Render the overlay unconditionally.

CSS classes: web3-pending-overlay (root), web3-pending-overlay-inner, web3-pending-spinner, web3-pending-message

conditionalView : List (Attribute msg) -> { message : String } -> Status -> Html msg

Render the overlay only when status is Tx.AwaitingSignature.

Returns Html.text "" for all other states — safe to always include in your view tree.