elm-ui packageElement.padding (no concept of margin)There used to be a notion of a single type defining all possible styles
Latest elm-ui simplifies that by using only inline styles. You build your own abstractions with vanilla Elm functions/modules etc.
Element type is the equivalent of the Html type from elm/html
Element.html works at leaf nodes, but elm-ui in general doesn’t mix with plain html
Element.htmlAttribute
Refactoring is a huge asset for a team, so much easier than css refactoring
Doesn’t expose all the css tricks directly, sometimes you need escape hatches to access those
elm-pagesclassifyDevice is an optional helper for responsivenessElement.row, column, elElement.Region module.Element.paragraph uses text wrappingem/remelm-ui doesn't expose access to rem and em units to simplify the mental model and reduce overlapping ways to express somethingLucas Payr's elm-ui-widgets
Alex Korban's elm-ui patterns
)
elm-ui viewsElement.explain gives you highlights around nested elementselm-ui, but elm-ui is much more traceable because it doesn't have layout cascading like CSSelm-ui announcement talk at Elm Europe (was about elm-style-elements, but still worth a watch)elm-ui conference talkelm-ui concepts)