Skip to content

EngageSoftware/elm-engage-common

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

elm-engage-common

Engage's common UI framework components

Not for community use

Css is compiled to src/elm-engage-common.css and must be included manually.

Example using Buttons

view : Model -> Html Msg
view model =
    div []
        [ p []
            [ Button.primary { namespace = Namespace.engagecore, attributes = [], text = "Primary Button" }
            , Button.standard { namespace = Namespace.engagecore, attributes = [], text = "Default Button" }
            , Button.divert { namespace = Namespace.engagecore, attributes = [], text = "Divert Button" }
            ]
        , p []
            [ Button.primarySmall { namespace = Namespace.engagecore, attributes = [], text = "Small Primary Button" }
            , Button.standardSmall { namespace = Namespace.engagecore, attributes = [], text = "Small Default Button" }
            , Button.divertSmall { namespace = Namespace.engagecore, attributes = [], text = "Large Divert Button" }
            ]
        ]

About

Common Elm modules used by Engage's products

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •