open-wc VS htmx

Compare open-wc vs htmx and see what are their differences.

open-wc

Open Web Components: guides, tools and libraries for developing web components. (by open-wc)

htmx

</> htmx - high power tools for HTML (by bigskysoftware)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
open-wc htmx
18 569
2,212 33,428
0.8% 4.6%
8.1 9.6
10 days ago 1 day ago
JavaScript JavaScript
MIT License GNU General Public License v3.0 or later
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.

open-wc

Posts with mentions or reviews of open-wc. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-16.
  • Testing Web Components with @web/test-runner
    4 projects | dev.to | 16 Mar 2023
    npm init @open-wc@latest Need to install the following packages: @open-wc/[email protected] Ok to proceed? (y) y _.,,,,,,,,,._ .d'' ``b. Open Web Components Recommendations .p' Open `q. .d' Web Components `b. Start or upgrade your web component project with .d' `b. ease. All our recommendations at your fingertips. :: ................. :: `p. .q' `p. open-wc.org .q' `b. @openWc .d' `q.. ..,' See more details at https://open-wc.org/init/ '',,,,,,,,,,'' Note: you can exit any time with Ctrl+C or Esc ✔ What would you like to do today? › Scaffold a new project ✔ What would you like to scaffold? › Web Component ✔ What would you like to add? › Testing (web-test-runner) ✔ Would you like to use typescript? › Yes ✔ What is the tag name of your web component? … testing-components ./ ├── testing-components/ │ ├── .vscode/ │ │ └── extensions.json │ ├── demo/ │ │ └── index.html │ ├── src/ │ │ ├── index.ts │ │ ├── testing-components.ts │ │ └── TestingComponents.ts │ ├── test/ │ │ └── testing-components.test.ts │ ├── .editorconfig │ ├── .gitignore │ ├── LICENSE │ ├── package.json │ ├── README.md │ ├── tsconfig.json │ ├── web-dev-server.config.mjs │ └── web-test-runner.config.mjs ✔ Do you want to write this file structure to disk? › Yes Writing..... done ✔ Do you want to install dependencies? › Yes, with npm
  • Are web components still a thing?
    1 project | /r/webdev | 7 Oct 2022
    Very much still a thing, https://open-wc.org/ is a good resource for examples and best practices.
  • Alternative to tailwind for Vite + Lit + Ts ?
    1 project | /r/vitejs | 25 Sep 2022
    I have this design system project for a company, I need to make web components and instead of using open-wc.org pre-built, I chose to go Vite.
  • How my Frontend skills helped me pass my sailing test
    2 projects | dev.to | 15 Aug 2022
    Nice. We have data with meaning. Now let's create the presentation layer (aka the UI!) and then let's add interactivity to the UI, so we can have feedback when actually simulating an exam (aka the Frontend!). Since in ING we are advocates of Web Components, I always wanted to give this stack a try for side projects. I jumped right into open-wc.org and used the npm generator. Everything worked precisely as expected. It was a breeze since my Chapter is using lit every. single. day. So I could finally get some mileage myself, in writing lit. At work, as a Chapter Lead, I prefer to spend my time more effectively for the team, rather than coding new features by myself; my chapter does it better anyway (#proud).
  • Ask HN: What's is your go to toolset for simple front end development?
    46 projects | news.ycombinator.com | 7 Jul 2022
  • [AskJS] Looking for contributors for open source project / custom web element
    1 project | /r/javascript | 6 Jul 2022
    I suggest following these best practices for creating a custom web element: https://open-wc.org/
  • Open Web Components
    1 project | /r/RushRadar | 4 Jul 2022
  • Open Web Components provides guides, tools, and libraries for developing web components
    1 project | /r/RushRadar | 4 Jul 2022
  • Start Using Web Components with open-wc
    4 projects | dev.to | 1 May 2022
    Open Web Components is a great tool for accessing open-source web components and is very easy to set up with their quickstart guide and easy to understand documentation.
  • Getting Started with Wireframes & Prototypes for Applications
    1 project | dev.to | 6 Apr 2022
    This application is one of many applications out there that are dipping their toes in the land of web components. Web components are still very new and ever-growing. While I have been developing on HAX-the-Web, I am also the Project Manager for HAXCamp 2022. < hax-camp > is an unconference dedicated to all things Web Components!This year's event is being student-run and we anticipate there being discussions about openwc, lit, performance, element composition, css, hax.psu, pedagogy, and design systems. If this work flow is something that you are interested in, I would encourage signing up for this event. It is much more than this, larger than you know and a way to connect with students, faculty, staff, and professional in the industry.

htmx

Posts with mentions or reviews of htmx. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-05-07.
  • Hanami and HTMX - progress bar
    5 projects | dev.to | 7 May 2024
    Hi there! I want to show off a little feature I made using hanami, htmx and a little bit of redis + sidekiq.
  • Migrating Next.js App to GO + Templ & HTMX
    5 projects | dev.to | 5 May 2024
    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 GO. The backend repository is just a REST API responsible for storing and retreiving data from the database.
  • 🕸️ Web development trends we will see in 2024 👀
    3 projects | dev.to | 2 May 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.
  • Reusable Input Datalist
    1 project | dev.to | 6 Apr 2024
    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.
  • HTMZ inspired form subission
    2 projects | dev.to | 31 Mar 2024
    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 event.preventDefault()). The iframe receives the html response from the request and on load triggers a function to swap out it's contents into the main page.
  • Example Java Application with Embedded Jetty and a htmx Website
    3 projects | dev.to | 28 Mar 2024
    As described on htmx.org: "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"
  • Show HN: ZakuChess, an open source web game built with Django, Htmx and Tailwind
    3 projects | news.ycombinator.com | 9 Mar 2024
    Apart from the source code itself, the repo's README also gives a bit more details about the various packages I used.

    1. htmx: https://htmx.org/

  • Show HN: Alpine Ajax – If Htmx and Alpine.js Had a Baby
    1 project | news.ycombinator.com | 4 Mar 2024
    Also, there’s some response header juggling you have to do when submitting forms that have a validation step before redirecting: https://github.com/bigskysoftware/htmx/issues/369

    I’ve tried to iron out any footguns or server requirements I’ve bumped into while using HTMX & Hotwire in my projects.

  • 🤓 My top 3 Go packages that I wish I'd known about earlier
    6 projects | dev.to | 1 Mar 2024
    ✨ In recent months, I have been developing web projects using GOTTHA stack: Go + Templ + Tailwind CSS + htmx + Alpine.js. As soon as I'm ready to talk about all the subtleties and pitfalls, I'll post it on my social networks.
  • FLaNK Stack 26 February 2024
    50 projects | dev.to | 26 Feb 2024

What are some alternatives?

When comparing open-wc and htmx you can also consider the following projects:

turborepo - Incremental bundler and build system optimized for JavaScript and TypeScript, written in Rust – including Turborepo and Turbopack. [Moved to: https://github.com/vercel/turbo]

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

rocket - The modern web setup for static sites with a sprinkle of JavaScript

Vue.js - This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core

web3-sign-msg - web3-sign-msg is a modern web component built with ficusjs to sign messages with your eth private key in Metamask

astro - The web framework for content-driven websites. ⭐️ Star to support our work!

web - Guides, tools and libraries for modern web development.

unpoly - Progressive enhancement for HTML

custom-elements-manifest - A file format for describing custom elements

react-snap - 👻 Zero-configuration framework-agnostic static prerendering for SPAs

ficusjs - FicusJS is a set of lightweight functions for developing applications using web components

django-unicorn - The magical reactive component framework for Django ✨