Skip to content

arowM/elm-neat-layout

Repository files navigation

elm-neat-layout

test Elm package

Gap sensitive layout framework.

logo

Why neat layout?

Enpower you to realize no-hack layouts with neat gaps.

  • No quirky collapsing of gaps
  • Natural liquid layout
  • No need for manual cropping of texts
  • No unintentional overflow of contents
  • Flexible layout built with fewer APIs

Why not support styles?

The elm-neat-layout is a framework for building layouts, so it does not provide a way to specify styles such as background colors, etc. Just use CSS for that purpose!

Wouldn't it be better to use a language specially designed for styles? It would be the similar to the reason you chose Elm, a language specially designed for TEA. CSS is a good language for styles, but not adequate for layouts.

Sample applications

See sample directory.