Skip to content

About

Explore and interact with UI components and pages you've created

Resources

Stars

8 stars

Watchers

13 watching

Forks

Latest commit

 

History

42 Commits

Folders and files

Repository files navigation

elm-ui-explorer

Create an app that lets you browse and interact with UI you've created.

Example app

Here's a small example app with 3 pages. The first two pages show static content and the last page is interactive. To get it working, swap out "MyUI" with whatever you want to show.

import MyUI
import UiExplorer

pages =
    UiExplorer.firstPage 
        "Button" 
        (UiExplorer.static MyUI.button)
        |> UiExplorer.nextPage 
            "Footer" 
            (UiExplorer.static MyUI.footer)
        |> UiExplorer.nextPage
            "Login Form"
            { init = MyUI.loginInit
            , update = MyUI.loginUpdate
            , view = 
                \pageSize model -> MyUI.loginView model
            , subscriptions = always Sub.none
            }

main =
    UiExplorer.application UiExplorer.defaultConfig pages

About

Explore and interact with UI components and pages you've created

Resources

Stars

8 stars

Watchers

13 watching

Forks

Used by

Contributors

Languages