fabiommendes / elm-daisy-ui / Daisy.Mockup

Simple mockups

Code

See also: https://daisyui.com/components/mockup-code/

code : String -> Html msg

Create a simple code mockup from a string of text

codeCustom : List ( String, String, String ) -> Html msg

Customize the code mockup display.

It receive a list of (line class, line number or prefix, line content) and render the code mockup.

Phone

See also: https://daisyui.com/components/mockup-phone/

phone : List (Html.Attribute msg) -> List (Html msg) -> Html msg

Render children contained inside a phone mockup

Window

See also: https://daisyui.com/components/mockup-window/

window : List (Html.Attribute msg) -> List (Html msg) -> Html msg

Render children contained inside a window mockup