Featured Article

How to Integrate HTMX and Shoelace Web Components | styled to perfection

Calgary Aug 06, 2026

How to Integrate HTMX and Shoelace Web Components

How to Integrate HTMX and Shoelace Web Components
How to Integrate HTMX and Shoelace Web Components

In my last post, Shoelace Web Components with ASP.NET Core, I showed ASP.NET Core developers how to integrate the web components of Shoelace into an existing web application. It's incredible, and you should check it out.

Sensory Processing Educating Others Sensory Processing
Sensory Processing Educating Others Sensory Processing

This technical article explains the challenges of integrating the HTMX library with Shoelace web components , which use the Shadow DOM. It details why HTMX (pre-2.0) cannot directly interact with Shoelace elements and provides a solution using HTMX events to ensure form submissions and dynamic behaviors work correctly.

How to Integrate HTMX and Shoelace Web Components

Flat Laces No Tie Shoelaces
Flat Laces No Tie Shoelaces

HTMX doesn't scan the Shadow DOM of custom web components like those from Shoelace , meaning form inputs inside Shoelace components are silently excluded from...

In my last post, Shoelace Web Components with ASP.NET Core, I showed ASP.NET Core developers how to integrate the web components of Shoelace into an existing web application.

Wooden Montessori Busy Board 50x50cm Sensory Activity Toy for Toddlers
Wooden Montessori Busy Board 50x50cm Sensory Activity Toy for Toddlers

Shoelace Articles

How to Integrate HTMX and Shoelace Web Components A guide to resolving compatibility issues between HTMX and Shoelace web components , with a focus on Shadow DOM and event handling.

Shoelace is a popular and mature collection of configurable Web Components , which by definition are framework agnostic. Since writing our own components library is a ton of work, we should rather prefer using something ready and battle tested. Let's then see how this library plays with HTMX by building a real application!

Mingxing Quick Lace System Easy Shoe Lacing for Kids
Mingxing Quick Lace System Easy Shoe Lacing for Kids

htmx Examples Web Components

Web Components This example shows how to integrate HTMX with web components , allowing it to be used inside of shadow DOM. By default, HTMX doesn't know anything about your web components , and won't see anything inside their shadow DOM. Because of this, you'll need to manually tell HTMX about your component's shadow DOM by using htmx ...

Shoelace is a popular and mature collection of configurable Web Components and as we already know, HTMX pairs really nicely with Web Components .

How to Teach Shoelace Tying Free Printable Activity Included 7
How to Teach Shoelace Tying Free Printable Activity Included 7

Key Details About How To Integrate Htmx And Shoelace Web Components

Shoelace is now Web Awesome! Web Awesome has an even bigger library of free components . Plus themes, utilities, patterns, and more! Still open source. Still free. With more Awesome. Migrate to Web Awesome! No, thanks Shoelace Is Sunset with no active development Use Web Awesome for ongoing work, issues, and features.

Sensory Processing Pyramid Of Learning
Sensory Processing Pyramid Of Learning
What is sensory processing Trinity disAbility Service
What is sensory processing Trinity disAbility Service
Quit lacing and tying your kicks with the ONECL dial shoelace system
Quit lacing and tying your kicks with the ONECL dial shoelace system
Free Sensory Processing Courses NMXBLO
Free Sensory Processing Courses NMXBLO
From Concept To Creation New Bungee Lace System Fasteners
From Concept To Creation New Bungee Lace System Fasteners
Understanding Sensory Processing What It Can Look Like in Everyday
Understanding Sensory Processing What It Can Look Like in Everyday
Best Types of Shoes for Sensory Processing Disorders U Lace No Tie
Best Types of Shoes for Sensory Processing Disorders U Lace No Tie

Add " shoelace " to the hx-ext parameter on a form or body tag. Adding it to the body tag will make all forms in the page include the values of Shoelace elements within them.