Software Alternatives, Accelerators & Startups

htmx VS Svelte

Compare htmx VS Svelte and see what are their differences

htmx logo htmx

high power tools for HTML

Svelte logo Svelte

Cybernetically enhanced web apps
  • htmx Landing page
    Landing page //
    2023-05-25

htmx gives you access to AJAX, CSS Transitions, WebSockets and Server Sent Events directly in HTML, using attributes, so you can build modern user interfaces with the simplicity and power of hypertext

htmx is small (~14k min.gz’d), dependency-free, extendable, IE11 compatible & has reduced code base sizes by 67% when compared with react

  • Svelte Landing page
    Landing page //
    2023-07-27

We recommend LibHunt Svelte for discovery and comparisons of trending Svelte projects.

htmx videos

DjangoCon Europe 2023 | HTMX vs WASM - more backend or more frontend?

More videos:

  • Review - Dynamic Web Pages Without JavaScript? - Intro to HTMX

Svelte videos

Svelte vs React vs Angular vs Vue

More videos:

  • Review - Why Svelte is the best JS "framework"
  • Review - Oh crap, here comes *another* JavaScript framework || SVELTE || Sveltejs

Category Popularity

0-100% (relative to htmx and Svelte)
Software Development
100 100%
0% 0
Javascript UI Libraries
JavaScript Framework
9 9%
91% 91
Developer Tools
14 14%
86% 86

User comments

Share your experience with using htmx and Svelte. For example, how are they different and which one is better?
Log in or Post with

Reviews

These are some of the external sources and on-site user reviews we've used to compare htmx and Svelte

htmx Reviews

We have no reviews of htmx yet.
Be the first one to post

Svelte Reviews

The 20 Best Laravel Alternatives for Web Development
The next of these Laravel alternatives is Svelte. It cuts through the complexity, snipping off any excess, pre-compiling its magic to keep your app lightweight without shedding any muscle. The end result? Lightning strikes in web performance.
20 Best JavaScript Frameworks For 2023
Svelte, unlike other JavaScript frameworks such as React or Vue.js, has no virtual DOM. Instead, you build components boilerplate-free in simple HTML, CSS, and JavaScript code. Svelte Compiler then compiles this code into small framework-free vanilla JavaScript modules during build time and surgically updates the DOM when the state changes. So unlike other traditional...
Comparing Vue.js to new JavaScript frameworks
Svelte, however, solves this performance problem at build time. This JavaScript framework is known for its speed and performance. It comes with a compiler that converts the Svelte framework code to vanilla JavaScript when running a build on an app.
Top 5 JavaScript Frameworks To Learn in 2021
Apart from speed and performance, Svelte has some exciting features like less boilerplate, a component-based model, SEO support, etc. However, Svelte hasn't got the attention it requires due to React. But with this rising trend, Svelte will be a good option to learn in 2021.
Source: enlear.academy
The Best JavaScript Frameworks You’re Not Using
Svelte works differently than some of the other front end libraries/frameworks that you may be familiar with. Your code is compiled at build time and this has big performance benefits. In fact, Svelte is one of the best performers in recent benchmarks.…
Source: jsreport.io

Social recommendations and mentions

Based on our record, Svelte should be more popular than htmx. It has been mentiond 356 times since March 2021. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

htmx mentions (68)

  • Hanami and HTMX - progress bar
    Hi there! I want to show off a little feature I made using hanami, htmx and a little bit of redis + sidekiq. - Source: dev.to / 15 days ago
  • Migrating Next.js App to GO + Templ & HTMX
    Recently, I just rewrite one of my application Stashbin from Next.js to GO. Though my main motivation of this migration was to learn GO and experimenting with HTMX. I also aiming to reduce the resource usage of my application and simplify the deployment process. Initially, Stashbin codebase are split into two seperate repository, one for the frontend that uses Next.js and another for the backend that already uses... - Source: dev.to / 17 days ago
  • 🕸️ Web development trends we will see in 2024 👀
    HTMX is another library that gained popularity due to its server-first approach to rendering data, although seeking a much simpler way of appealing to developers. - Source: dev.to / 25 days ago
  • Reusable Input Datalist
    When I work with HTMX I need isolated component that can be reusable a form. So I create a PHP Function that generate the Input Datalist. - Source: dev.to / about 2 months ago
  • HTMZ inspired form subission
    I was inspired by htmz (which was in turn inspired by htmx) and how the author got pretty close to a basic htmx-like experience just using an iframe. I wanted to push it a little further so whipped this demo together. My submission demonstrates progressive enhancement for the form - with js enabled the request targets an iframe that is inserted into the dom, meaning the page doesn't actually navigate (similar to... - Source: dev.to / about 2 months ago
View more

Svelte mentions (356)

  • Svelte Series-2: How to install Svelte
    The original installation referred to here is actually the installation prompt that appears on the home page of the official website. - Source: dev.to / 1 day ago
  • 10+ UI Libraries for Svelte to Try in 2024
    Svelte is an open source JavaScript framework which gains popularity among web developers due to its fast client performance (compared to React and Vue), lightweight nature and ease of learning. Svelte, together with SvelteKit, makes web developers more productive allowing them to build projects faster, write code that is easier to understand and fix, and simply "code with joy". - Source: dev.to / 28 days ago
  • Getting started with React by building a Pokemon search application
    Also, I recently checked out Svelte and kinda like it, so will be doing a post like this next; stay tuned. - Source: dev.to / 11 days ago
  • Securing SvelteKit Apps with Keycloak
    Svelte and specifically, SvelteKit is an open source web framework that makes developing web applications easier. - Source: dev.to / 15 days ago
  • How to optimise React Apps?
    React has introduced measures like batching state updates, background concurrent rendering and memoization to tackle this. My opinion is that the best way to solve the problem is by improving their reactivity model. The app needs to be able to track the code that should be re-run on updating a given state variable and specifically update the UI corresponding to this update. Tools like solid.js and svelte work in... - Source: dev.to / about 1 month ago
View more

What are some alternatives?

When comparing htmx and Svelte, you can also consider the following products

Alpine.js - A rugged, minimal framework for composing JavaScript behavior in your markup.

Vue.js - Reactive Components for Modern Web Interfaces

Gio UI - Gio is an open source library for creating portable, immediate mode GUI programs for Android, iOS, Linux, Windows, macOS.

React - A JavaScript library for building user interfaces

SQLPage - Build SQL-only websites - Build full web applications using just SQL queries

Tailwind CSS - A utility-first CSS framework for rapidly building custom user interfaces.