Giter Site home page Giter Site logo

phollyer / elm-responsive-ui Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 14 KB

A repeatable way of doing 'Responsive', primarily focused on Elm-UI: https://package.elm-lang.org/packages/mdgriffith/elm-ui/latest/

License: BSD 3-Clause "New" or "Revised" License

Elm 100.00%

elm-responsive-ui's Introduction

Elm-Responsive-UI

License

These modules provide a simple and repeatable way of 'doing Resppnsive' and is intended for use with Elm-UI .

Install

$ git clone https://github.com/phollyer/elm-responsive-ui.git

Then you can either:

  1. Copy the files in src to your project, or
  2. Tell the Elm compiler where to find the files by adding the relative path from your Elm project, to source-directories in your elm.json file.

Design Goals

For some time I've wanted a repeatable way of doing responsive designs. A way to help me design for mobile first, and then adjust my views as necessary for larger screens.

I have previously used Twitter Bootstrap and Zurb Foundation, but have long since dropped using CSS in favour of Elm-UI. As a result, I want a pure Elm way of reacting to different size screens and orientations, and while requirements may change from project to project, I want the process to remain the same. Constantly re-inventing the wheel isn't something that I feel should be necessary for this particular problem.

Be Careful

These modules have evolved from a current project. As a result, it is still an experimental work in progress, so more functions could be added and some functions may disappear or change. Therefore, the usual caveats apply with regard to using an experimental package in your projects.

Feedback/Collaboration

Feedback and/or collaboration is welcome. Initially, please start an issue on Github, post a question on Discourse (I try to read it every day), or private message me on Discourse.

What is Responsiveness?

When I think about responsiveness, I think of scaling fonts, spacing, padding etc, and changing layouts according to screen size and orientation. This module is intended to address those types of problems simply and intuitively.

Usage

TODO

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.