Haml VS Slim

Compare Haml vs Slim and see what are their differences.

Haml

HTML Abstraction Markup Language - A Markup Haiku (by haml)

Slim

Slim is a template language whose goal is to reduce the syntax to the essential parts without becoming cryptic. (by slim-template)
Our great sponsors
  • talent.io - Download talent.io’s Tech Salary Report
  • Scout APM - Truly a developer’s best friend
  • SonarQube - Static code analysis for 29 languages.
  • InfluxDB - Build time-series-based applications quickly and at scale.
Haml Slim
13 22
3,689 5,131
0.3% 0.2%
2.8 0.0
7 days ago 3 months ago
Ruby Ruby
MIT License MIT 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.

Haml

Posts with mentions or reviews of Haml. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-09-26.

Slim

Posts with mentions or reviews of Slim. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-06-20.

What are some alternatives?

When comparing Haml and Slim you can also consider the following projects:

Liquid - Liquid markup language. Safe, customer facing template language for flexible web apps.

Hamlit - High Performance Haml Implementation

Sanitize - Ruby HTML and CSS sanitizer.

tachyons - Functional css for humans

Tilt - Generic interface to multiple Ruby template engines

Webpacker - Use Webpack to manage app-like JavaScript modules in Rails

Mustache - Logic-less Ruby templates.

Arbre - An Object Oriented DOM Tree in Ruby

Curly - The Curly template language allows separating your logic from the structure of your HTML templates.