EdutainmentLIVE/elm-bootstrap/2.0.0

NOTE: the latest version is 2.0.1

Bootstrap.Badge

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

Tags

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

Create a badge with primary colors

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

Create a badge with secondary 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
badgeLight : List (Attribute msg) -> List (Html msg) -> Html msg

Create a light badge

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

Create a dark badge

  • attributes List of attributes
  • children List of child elements

Pills

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

Create a pill with primary colors

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

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

  • 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
pillLight : List (Attribute msg) -> List (Html msg) -> Html msg

Create a light pill

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

Create a dark pill

  • attributes List of attributes
  • children List of child elements