supermacro / elm-antd / Ant.Typography

Typography components for Elm Antd

title : String -> Title

Create a Title / header component

By default, the Title produced is a H1


type Level
    = H1
    | H2
    | H3
    | H4
    | H5

Level of your headings

level : Level -> Title -> Title

Change the heading level of your Title component

title "Elm is cool"
    |> level H3
    |> toHtml

toHtml : Title -> Html msg

Render your title / header