intrepidshape/elm-web3-ui/2.1.2

NOTE: the latest version is 4.0.0

Web3.Ui.TokenSearch

Search input for filtering a token list by name/symbol/address. Generic across any dapp that lists tokens (launchpad, DEX, vault aggregator, NFT collection picker).

Web3.Ui.TokenSearch.view
    { value = model.query
    , onInput = QueryChanged
    , placeholder = "Search tokens..."
    }

The component does not perform filtering — it just renders the input and emits change events. Filter logic is the consumer's responsibility (an on*Match predicate that compares against name, symbol, address).

CSS classes: web3-tokensearch, web3-tokensearch__input, web3-tokensearch__icon.

{ value : String
, onInput : String -> msg
, placeholder : String
}
-> Html msg

Render the search input.