This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.

Aui.Badges

Functions to present AUI badges.

Presentation

badge : String -> Html msg

Present a badge with a given content

badge "Hello world!"
module Aui.Badges exposing (badge)

{-| Functions to present AUI badges.


# Presentation

@docs badge

-}

import Html exposing (node, Html, text)


{-| Present a badge with a given content

    badge "Hello world!"

-}
badge : String -> Html msg
badge inner =
    node "aui-badge" [] [ text inner ]