Orasund/elm-ui-framework/1.2.0

NOTE: the latest version is 1.6.1

Framework

This module includes the basic building bocks. Maybe start by copying the follow code into your project:

view : Html msg
view =
    Framework.layout [] <|
        Element.el Framework.container <|
            Element.text "the first element should be a container."
layout : List (Attribute msg) -> Element msg -> Html msg

A replacement of Element.layout adding both the Framework.layoutOptions and the Framework.layoutAttributes.

container : List (Attribute msg)

The container should be the outer most element. It centers the content and sets the background to white.

layoutOptions : List Option

The default layoutOptions. Check the source code if you want to know more.

layoutAttributes : List (Attribute msg)

The default Attributes. Check the source code if you want to know more.