nathanjohnson320/elm-ui-components/2.2.0

NOTE: the latest version is 2.3.0

Unavailable. Nobody can download this version any more, with elm or with the Lamdera compiler: github.com/nathanjohnson320/elm-ui-components is gone (deleted or private); Software Heritage not asked yet (this run's --swh-calls were used up); no fork with tag 2.2.0 found (3 same-name repos checked); no cached copy. Use another version.

Details

ElmUIC.Button

A styled button

type alias Button =
{ kind : ColorSetting
, size : Size
, text : Color
}

Base model for a button

defaultButton : Button

Instantiates the default properties of a button

{ defaultButton | text = hex "#000" }
button : Theme -> Button -> List (Attribute msg) -> List (Html msg) -> Html msg

A styled button

button defaultTheme defaultButton [] []