Announcing complete Svelte port of Headless UI, an unstyled, fully-accessible component library for React/Vue

This page summarizes the projects mentioned and recommended in the original post on /r/sveltejs

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • svelte-headlessui

    Unofficial Svelte port of the Headless UI component library

  • Are you referring to how I override the $$on method on components here to forward events? I adapted this from svelte-material-ui here to work around some limitations with Svelte. I'd rather not do this, of course, but my snarky response is that maybe Svelte should finally address this issue itself :) There are a number of long-standing open PRs, issues, and RFCs to address the difficulty of forwarding events in Svelte. Once a solution makes its way into the framework I'll be more than happy to get rid of this.

  • headlessui

    Completely unstyled, fully accessible UI components, designed to integrate beautifully with Tailwind CSS.

  • I think they've been pretty negative in public about that (one example of many). With that said, I'm not sure they were expecting someone to just do a total port for them. My intuition based on everything I've seen is still that they're reluctant to increase the scope of what they officially support and that they're reluctant to maintain code that someone else wrote (though in this case the code is very close to their existing code, so it might not be so bad, but even still).

  • 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 logo
  • svelte-material-ui

    Svelte Material UI Components

  • Are you referring to how I override the $$on method on components here to forward events? I adapted this from svelte-material-ui here to work around some limitations with Svelte. I'd rather not do this, of course, but my snarky response is that maybe Svelte should finally address this issue itself :) There are a number of long-standing open PRs, issues, and RFCs to address the difficulty of forwarding events in Svelte. Once a solution makes its way into the framework I'll be more than happy to get rid of this.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts