ahstro / elm-bulma-classes / Bulma.Helpers

Some helpers that make using Bulma.Classes easier

Helpers

classList : List String -> Html.Attribute msg

Takes a list of classes returns an appropriate Html.Attribute If you need to conditionally add classes, use Html.Attributes.classList instead.

Html.button
    [ classList
        [ "some-class"
        , Bulma.button
        , Bulma.isSecondary
        , "some-other-class-for-some-reason"
        ]
    ]
    []