English Bookys

Declarative UIs without CSS with elm-ui

Declarative UIs without CSS with elm-ui

  • Category: Courses
  • Views: 140
  • Posted on: 07/04/2021 10:55

elm-ui is a language for layout and interface design. This is a novel iteration on declarative styling where you can use Elm types and functions to define your UI in a declarative way.

The novel part is that it does not require you to know CSS to be used. The API is very simple and can be learned quickly!

The approach taken by elm-ui is based on two big ideas: Getting the compiler to verify as much of the layout and styling as possible by defining them in Elm code Enabling refactoring capabilities of Elm for UI code.

Use a declarative mindset for building UIs

Positioning elements, including centering

Creating a layout with rows and columns

elm-ui allows you to define styling with a minimal knowledge of CSS

elm-ui is not only useful as a layout system but also on the component/element level

elm-ui is more logic based than CSS based

There is no cascade when declaring elm-ui

elm doesn't have statements, it has expressions

What's the best approach to building UIs?

How should I balance the tradeoffs between functionality and accessibility?

Share

Declarative UIs without CSS with elm-ui

bookys teams would be in need of some new uploaders. If you're interested, please contact us x
';