Git Product home page Git Product logo

elm-modular-ui's Introduction

Modular UI for Elm

A friendly UI development framework based on Bulma CSS

New: Live example code at http://danielnarey.com/elm-modular-ui

  • Modular UI is a framework for building a modern user interface in Elm that abstracts out a lot of the details of the underlying HTML and CSS. It also provides a set of helpers for updating an element's classes, attributes, styles, and mouse/keyboard event handlers.
  • Modular UI is partially inspired by and designed to be used with the Bulma CSS framework (docs, github). Many of the constructor functions apply Bulma element classes to provide default styling that will give your layout and controls a clean, modern look. Bulma modifier classes can be used for easy customization, and available modifiers for each element class are listed in the package documentation. Alternatively, you can use the class names indicated in the documentation to write custom CSS for your application.
  • Modular UI element constructors automate the implementation ARIA web accessibility features where appropriate. The package also includes a set of helpers for adding common ARIA attributes where needed.
  • Modular UI is backed by my Semantic Dom package, which provides an interface to Elm VirtualDom. In particular, Modular UI constructors and modifiers rely on Semantic Dom's Element module, which makes it possible to construct elements as updatable Elm records before they are rendered to unmodifiable VirtualDom nodes.

Versions

  • 1.0.0: Complete with respect to features; in-browser testing is ongoing
  • 1.0.1: Documentation fixes; minor change in event handling for Ui.Input.float
  • 1.0.2: Bug fixes for delete button and SVG icon constructors

Package Modules

Basics

Interactive Elements

Content Elements

Customizing Appearance and Interaction

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.