All Projects → kalutheo → Elm Ui Explorer

kalutheo / Elm Ui Explorer

Licence: mit

Programming Languages

elm
856 projects

Projects that are alternatives of or similar to Elm Ui Explorer

Zent
A collection of essential UI components written with React.
Stars: ✭ 2,133 (+982.74%)
Mutual labels:  ui-components
Startup Landing
Collection of free top of the line startup landing templates built using react/nextjs/gatsby. Free to download, simply edit and deploy! Updated weekly!
Stars: ✭ 176 (-10.66%)
Mutual labels:  ui-components
Precise Ui
📐 React UI Component Library powered by ZEISS.
Stars: ✭ 192 (-2.54%)
Mutual labels:  ui-components
Osiris
An Electron based desktop application for generating components, building pages, and storing them in a UI library.
Stars: ✭ 175 (-11.17%)
Mutual labels:  ui-components
Springy facebook rebound
Springy makes Android Property animation easy to use.
Stars: ✭ 176 (-10.66%)
Mutual labels:  ui-components
Vacalendar
Custom Calendar for iOS in Swift
Stars: ✭ 184 (-6.6%)
Mutual labels:  ui-components
Lite Editor
A Modern WYSIWYG Editor especially for inline elements
Stars: ✭ 169 (-14.21%)
Mutual labels:  ui-components
Honeycombview
HoneycombView is the iOS UIView for displaying like Honeycomb layout written by swift
Stars: ✭ 196 (-0.51%)
Mutual labels:  ui-components
Jetquotes
🔖 A Quotes Application built to Demonstrate the Jetpack Compose UI
Stars: ✭ 179 (-9.14%)
Mutual labels:  ui-components
Gradio
Create UIs for your machine learning model in Python in 3 minutes
Stars: ✭ 4,358 (+2112.18%)
Mutual labels:  ui-components
React Awesome Slider
React content transition slider. Awesome Slider is a 60fps, light weight, performant component that renders an animated set of production ready UI general purpose sliders with fullpage transition support for NextJS and GatsbyJS. 🖥️ 📱
Stars: ✭ 2,343 (+1089.34%)
Mutual labels:  ui-components
View Effects
Apply custom effects on view backgrounds
Stars: ✭ 176 (-10.66%)
Mutual labels:  ui-components
Qmui android
提高 Android UI 开发效率的 UI 库
Stars: ✭ 13,341 (+6672.08%)
Mutual labels:  ui-components
Smartblock
intuitive block based wysiwyg editor built with React and ProseMirror
Stars: ✭ 173 (-12.18%)
Mutual labels:  ui-components
Jim Knopf
⭕️ small JavaScript library to create knobs using SVG
Stars: ✭ 193 (-2.03%)
Mutual labels:  ui-components
Fc Angular
快速搭建angular后台管理系统的admin template。Fast development platform based on angular8, ng.ant.design built multi-tab page background management system (continuous upgrade) ^_^
Stars: ✭ 171 (-13.2%)
Mutual labels:  ui-components
Ej2 Vue Ui Components
Syncfusion Vue UI component library offer more than 50+ cross-browser, responsive, and lightweight vue UI controls for building modern web applications.
Stars: ✭ 182 (-7.61%)
Mutual labels:  ui-components
Boomerang Free Bootstrap Ui Kit
Boomerang is a high quality UI Kit built on top of the well known Bootstrap 4 Framework. This theme was designed as its own extended version of Bootstrap with multiple functionalities and controls added, extended color palette and beautiful typography.
Stars: ✭ 196 (-0.51%)
Mutual labels:  ui-components
Truly Ui
Truly-UI - Web Angular UI Components for Desktop Applications (Electron, NW, APP JS)
Stars: ✭ 195 (-1.02%)
Mutual labels:  ui-components
Circularprogressbar
CircularProgressbar project let you create circular progressbar in android
Stars: ✭ 188 (-4.57%)
Mutual labels:  ui-components

Elm UI Explorer

logo

Build Status

UI Component Explorers and Style Guides have been around for a while now. We don't build pages anymore but components that are assembled together to build systems.

In the Elm world, components are just called views, and are defined as pure functions. Elm UI Explorer takes advantage of the composability and the purity of Elm and offers a way to showcase your views and their states in a single tool. This project is inspired by React Storybook and styled with Tailwind

How to use it ?

Quick Start

First install the cli.

npm install @kalutheo/uie

Then initialize your project.

uie init

To run your explorer:

npm run uie

Finally, you should be able to see your explorer by visiting http://localhost:8000

Manual Setup

Here is a basic example of a button showcased in Elm UI Explorer:

Add this to your Main.elm file.

import Html
import Html.Attributes exposing (style)
import UIExplorer exposing (UIExplorerProgram, defaultConfig, explore, storiesOf)


button : String -> String -> Html.Html msg
button label bgColor =
    Html.button
        [ style "background-color" bgColor ]
        [ Html.text label ]


main : UIExplorerProgram {} () {}
main =
    explore
        defaultConfig
        [ storiesOf
            "Button"
            [ ( "SignIn", \_ -> button "Sign In" "pink", {} )
            , ( "SignOut", \_ -> button "Sign Out" "cyan", {} )
            , ( "Loading", \_ -> button "Loading please wait..." "white", {} )
            ]
        ]

Then in your Html add a link to the Elm UI Explorer stylesheet

<link
  rel="stylesheet"
  type="text/css"
  href="https://cdn.jsdelivr.net/gh/kalutheo/elm-ui-e[email protected]/assets/styles.css"
/>

You can now run the Main.elm application with the tool of your choice.

Examples

Checkout all examples source code here

Main Features

  • Deep linking: You can easily share UI Explorer states by copying and pasting the url ( ex: attach them to your JIRA tickets, Pull Request etc... )

  • Categories: Your UI Explorer can be divided into categories. Convenient if you have many views and you want to group them by family.

  • Plugins: Elm UI Explorer has a mechanism that let you extend the tool by creating your own plugins. By defaults the library comes with built in plugins.
  • Customization: You can make the header match your brand identity by changing colors, title and icons.

  • Responsivness: The explorer navigation is adapted for devices with small screens.

  • Dark mode: For aesthetic purposes, Dark mode can be enabled with one click.

Best Practices

  • For hot reloading, it's recommended to use Create Elm App. Elm Live is also a great alternative that provides live reloading.

  • In order to avoid CSS conflicts with built in UI Explorer Styles, consider using elm-css or elm-ui. Theses tools use technics that prevent styles collisions by scoping the css.

  • Try to adopt SDD (StoryBook Driven Development), creating UI this way can be very efficient.

  • Use Atomic Design paradigm. This will help you build a scalable Design System.

  • All ids (Story names and categories) should be unique (ex: DropDown Menu, Loading, Loaded etc... )

FAQ

For further informations, you can check the Frequently Asked Questions (FAQ) section.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].