rundis/elm-bootstrap/3.0.0

NOTE: this package is not compatible with Elm 0.19.1

Bootstrap.Badge

Small and adaptive badge for adding context to just about any content.

Tags

badge : List (Attribute msg) -> List (Html msg) -> Html msg

Create a badge with default styling

  • attributes List of attributes
  • children List of child elements
badgePrimary : List (Attribute msg) -> List (Html msg) -> Html msg

Create a badge with primary colors

  • attributes List of attributes
  • children List of child elements
badgeSuccess : List (Attribute msg) -> List (Html msg) -> Html msg

Create a badge with success colors

  • attributes List of attributes
  • children List of child elements
badgeInfo : List (Attribute msg) -> List (Html msg) -> Html msg

Create a badge with info colors

  • attributes List of attributes
  • children List of child elements
badgeWarning : List (Attribute msg) -> List (Html msg) -> Html msg

Create a badge with warning colors

  • attributes List of attributes
  • children List of child elements
badgeDanger : List (Attribute msg) -> List (Html msg) -> Html msg

Create a badge with danger colors

  • attributes List of attributes
  • children List of child elements

Pills

pill : List (Attribute msg) -> List (Html msg) -> Html msg

Create a pill (badge with rounded corners) using default coloring

  • attributes List of attributes
  • children List of child elements
pillPrimary : List (Attribute msg) -> List (Html msg) -> Html msg

Create a pill with primary colors

  • attributes List of attributes
  • children List of child elements
pillSuccess : List (Attribute msg) -> List (Html msg) -> Html msg

Create a pill with success colors

  • attributes List of attributes
  • children List of child elements
pillInfo : List (Attribute msg) -> List (Html msg) -> Html msg

Create a pill with info colors

  • attributes List of attributes
  • children List of child elements
pillWarning : List (Attribute msg) -> List (Html msg) -> Html msg

Create a pill with warning colors

  • attributes List of attributes
  • children List of child elements
pillDanger : List (Attribute msg) -> List (Html msg) -> Html msg

Create a pill with danger colors

  • attributes List of attributes
  • children List of child elements