aforemny/material-components-web-elm/4.0.0

NOTE: the latest version is 9.1.0

Material.ChipSet.Input

Chips are compact elements that allow users to enter information, select a choice, filter content, or trigger an action.

Input chips are a variant of chips which enable user input by converting text into chips.

Table of Contents

Resources

Basic Usage

import Material.Chip.Input as InputChip
import Material.ChipSet.Input as InputChipSet


type Msg
    = ChipSelected String


main =
    InputChipSet.chipSet []
        [ InputChip.chip InputChip.config "Chip One"
        , InputChip.chip InputChip.config "Chip Two"
        ]

Input Chip Set

chipSet : List (Attribute msg) -> List ( String, Chip msg ) -> Html msg

Input chip set view function