elm-format VS elm-ui

Compare elm-format vs elm-ui and see what are their differences.

elm-format

elm-format formats Elm source code according to a standard set of rules based on the official Elm Style Guide (by avh4)

elm-ui

What if you never had to write CSS again? (by mdgriffith)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
elm-format elm-ui
5 9
1,306 1,330
- -
5.6 0.0
about 1 year ago 1 day ago
Haskell Elm
BSD 3-clause "New" or "Revised" License BSD 3-clause "New" or "Revised" License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

elm-format

Posts with mentions or reviews of elm-format. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-12-27.
  • Using the Builder Pattern for Elm Components
    1 project | dev.to | 13 Mar 2022
    Keep in mind for the pipes, many in Elm, whether they’re using elm-format or not, will break the pipes to a different line in case there are many of them. For some, they find this more readable (I’m in that group). Let’s show an example of that using the same pattern to design a Paginator, the row of numbered buttons that allow you to move between pages of data.
  • Elm 2021, a year in review
    11 projects | dev.to | 27 Dec 2021
    9ᵗʰ - Aaron VonderHaar releases a new version of elm-format.
  • Setting up an Elm project in 2022
    11 projects | dev.to | 19 Dec 2021
    Unlike Javascript, Elm has an official Style Guide for how Elm code should be structured. In addition, some formatting is built into the language itself, such as requiring indents of four spaces. This removes a major point of contention within teams. In addition, the community has put together a wonderful tool called elm-format. Similar to Prettier, this utility can be used to ensure that all Elm code matches the official style guide. Unlike Prettier, there is no custom configuration, meaning once again that your team can focus on writing code instead of what kind of quotes to use.
  • Tips/Resources on starting with ELM
    6 projects | /r/elm | 11 Dec 2021
    Regarding user experience and tooling, I'd suggest you use an editor that is compatible with the elm language server: https://github.com/elm-tooling/elm-language-server VSCode is a good default choice. You'll also be interested in other toolings. elm-json (https://github.com/zwilias/elm-json) is great to simply install and uninstall dependencies. elm-format (https://github.com/avh4/elm-format) is a must since most active people in the community use it, and simply viewing your code being moved around on save is a good sign that you wrote something with a good syntax.
  • Artyom's Haskell toolbox — a long list of tools/libraries I use
    5 projects | /r/haskell | 2 Jan 2021
    Take for example the debate about 2 vs 4 spaces. People often (but not always) have very strong opinions about this, yet it is clear that this formatting choice will probably not be the dominant factor in the success of a project. A quick google search also reveals no scientific research in this field. Concerning surveys, I found this interesting (from a survey on 2 vs 4 spaces in elm-format) as one datapoint:

elm-ui

Posts with mentions or reviews of elm-ui. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-03.
  • Como desenvolvi um backend web em Clojure
    23 projects | dev.to | 3 Jul 2023
  • What is the right way to style an Elm application in 2023?
    4 projects | /r/elm | 20 Apr 2023
    It's been a few years, but last time I built a non-trivial Elm app, I used elm-ui. Otherwise, I've used either vanilla CSS with the Meyer reset (am I dating myself?) or SCSS.
  • Learning Elm because of work into Vue/React but why is the code so ugly?
    3 projects | /r/elm | 13 Oct 2022
    "clean" means you are used to it. ELM is a totally new language (not like JS and TS) based on a paradigm (functional programming) that you are probably not used to. And it is based on the ML type system (different from what you are used to). So it is a lot of new things at once. "Reinventing the wheel" is an unfortunate side-effect of using a different way to do things. Some things can be copied verbatim, some are totally different. Check out "elm-ui" (https://package.elm-lang.org/packages/mdgriffith/elm-ui/latest/) for a very different and refreshing view in UI code in ELM (that will appeal to the mostly-backend developers in your workplace).
  • Ask HN: What are you favorite goto frameworks when writing Web Aplications
    6 projects | news.ycombinator.com | 15 Dec 2021
    I use Elm for my project. Once you accept thinking the way it wants you to, it's a delight to develop front-end with it.

    Side advantage, Elm-UI frees you from CSS: https://package.elm-lang.org/packages/mdgriffith/elm-ui/late... it's like Tailwind but deeply intertwined with the language.

    https://elm-lang.org

  • Tips/Resources on starting with ELM
    6 projects | /r/elm | 11 Dec 2021
    The last advice I could give is to try elm-ui (https://github.com/mdgriffith/elm-ui) for your user interface. It's amazing how great that is compared to traditional ways of building a frontend layout.
  • What projects *didn't* you make in Rust?
    19 projects | /r/rust | 4 Dec 2021
    The library elm-ui makes it easy to create a nice user interface. I am unaware of anything similar for Rust+WASM, so I would have been forced to deal with HTML and CSS.
  • Elm Compiler Written in Elm
    4 projects | news.ycombinator.com | 12 Jul 2021
    There are several things named elm-ui. It's the author of a different library than what is usually understood when someone refers to elm-ui (which is https://package.elm-lang.org/packages/mdgriffith/elm-ui/late...)
  • Bootstrap 5
    2 projects | /r/programming | 5 May 2021
    Foregoing CSS all together by using a different approach to UI construction (elm-ui)
  • New Speedcubing Training Software
    2 projects | /r/Cubers | 15 Apr 2021
    Right now I'm just using the built in from the UI library I used for the sake of ease as I didn't find a perfect solution and it seemed good enough for now: Github Link to source, which it looks like would classify your laptop as a tablet, whoops!

What are some alternatives?

When comparing elm-format and elm-ui you can also consider the following projects:

elm-review - Analyzes Elm projects, to help find mistakes before your users find them.

htmx - </> htmx - high power tools for HTML

hasqlator-mysql - Hasqlator is a haskell sql generator library

ToolJet - Low-code platform for building business applications. Connect to databases, cloud storages, GraphQL, API endpoints, Airtable, Google sheets, OpenAI, etc and build apps using drag and drop application builder. Built using JavaScript/TypeScript. 🚀

bytestring - An efficient compact, immutable byte string type (both strict and lazy) suitable for binary or 8-bit character data.

compiler - Elm compiler written in Elm

package.elm-lang.org - website for browsing packages and exploring documentation

hotwire-rails - Use Hotwire in your Ruby on Rails app

elm-architecture-tutorial - How to create modular Elm code that scales nicely with your app

rust-gpu - 🐉 Making Rust a first-class language and ecosystem for GPU shaders 🚧

elm-websocket - Generate an Elm Subscriber and JSON encoders/decoders for a Wai WebSocket server

zigmod - 📦 A package manager for the Zig programming language.