orus-io/elm-orus-ui/1.0.1

Formerly cdevienne/elm-orus-ui. Search finds this package by either name.

OUI.Material

A elm-ui based renderer API

Basics

text : Theme themeExt -> Text -> Element msg

Render a text

icon : Theme themeExt -> List (Attribute msg) -> Icon -> Element msg

Render an icon

divider : Theme themeExt -> List (Attribute msg) -> Divider -> Element msg

Render a divider

badge : Theme themeExt -> List (Attribute msg) -> Badge -> Attribute msg

Render a badge

progress : Theme themeExt -> List (Attribute msg) -> Progress -> Element msg

Render a progress

Inputs

Theme themeExt
-> List (Attribute msg)
-> Button { constraints | hasAction : () } msg
-> Element msg

Render a button

Theme themeExt
-> List (Attribute msg)
{ hasAction : ()
, withChecked : ()
}
msg
-> Element msg

Render a checkbox

switch : Theme themeExt -> List (Attribute msg) -> Switch msg -> Element msg

Render a Switch

Theme themeExt
-> List (Attribute msg)
-> TextField msg
-> Element msg

Render a TextField

Theme themeExt
-> List (Attribute msg)
{ hasAction : ()
, withSelected : ()
}
msg
-> Element msg

Render a radiobutton

slider : Theme themeExt -> List (Attribute msg) -> Slider msg -> Element msg

Render a slider

Theme themeExt
-> List (Attribute msg)
-> Tabs key item msg
-> Element msg

Render a Tabs

Complex

dialog : Theme themeExt -> List (Attribute msg) -> Dialog msg -> Modal msg

Render a dialog

Theme themeExt
-> List (Attribute msg)
-> Element msg
-> Dialog msg
-> Modal msg

Render a dialog with a custom content