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.
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"
]Default configuration of an input chip
Specify a message when the user clicks on a chip
Specify a message when the user clicks on a chip's trailing icon
Specify whether an input chip displays a leading icon
Specify whether an input chip displays a trailing icon
Specify additonal attributes
Input chip view function
Input chip type
Configuration of an input chip