Best of Web ComponentsJanuary 2024

  1. 1
    Article
    Avatar of communityCommunity Picks·2y

    Why Tailwind Isn't for Me

    The author explains why they do not like Tailwind CSS, citing concerns about its HTML structure, compatibility issues with other CSS frameworks, reliance on non-standard features like `@apply`, lack of support for web components, and encouragement of div/span-tag soup in markup.

  2. 2
    Article
    Avatar of logrocketLogRocket·2y

    Build an off-canvas menu with <dialog> and web components

    Learn how to build an off-canvas menu using the <dialog> element and web components. Ensure accessibility and enhance user experience by following the steps provided. Style the menu using CSS to achieve desired animations and positioning.

  3. 3
    Article
    Avatar of lobstersLobsters·2y

    HTMX and Web Components: a Perfect Match

    The post discusses the use of Web Components and HTMX together to create reusable, framework-agnostic components. It explains the process of creating and using Web Components in the context of HTMX, provides examples of using Web Components with HTMX, and emphasizes the importance of a white box philosophy in component development.