fabiommendes / elm-daisy-ui / Daisy.Elements

Generic Elements

Basic elements

counter : List (Html.Attribute msg) -> Basics.Int -> Html msg

A simple rounded counter

counter [ class "foo" ] 10

It displays the number n within a circle

link : Types.Url -> List (Html.Attribute msg)

Safely creates a link

External urls append a target:blank_ that forces the navigator to open then in a different tab.

tags : List String -> Html msg

Renders a list of strings as tags

title : String -> Html msg

Main title of page

Layout

container : List (Html msg) -> Html msg

Main container element for page content.

list : (a -> Html msg) -> List (Html.Attribute msg) -> List a -> Html msg

Render a list of a's as an