-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Would you like to create headless components for svelte ? #162
Comments
Hey! Thank you for your suggestion! We are first focusing on React & Vue components, so I can't give you a good answer on this one. |
Any update? |
Support for svelte would be so cool! |
Tailwind has a lot of love and attention from Svelte developers, couldn't you open some guidelines for us to help you add one? |
It must be getting closer to the point where Svelte support will be considered. Maybe once Sveltekit is properly released? |
@chumleesockson |
A Svelte implementation has been created here: https://github.com/rgossiaux/svelte-headlessui |
@RobinMalfait it would be nice if @tailwindlabs can join their forces with author of https://github.com/rgossiaux/svelte-headlessui |
Would love for Svelte support! Currently using -> https://github.com/rgossiaux/svelte-headlessui |
Has there been any headway in implementing Svelte Support? |
A new headless UI library is out with a much more Sveltier way of doing things! |
Niiiice. Will give this a go |
+1 to support Svelte |
Svelte support please |
Rather than just bumping this thread, I'd like to provide a more in-depth argument for first-class Svelte support. There has recently been the 1.0 release of SvelteKit, with libraries such as Auth.js (formerly NextAuth) adopting SvelteKit as the first framework other than Next.js. With companies like Vercel showing support for Svelte, I think it's time for HeadlessUI to add official support as well. While I understand that this would be a lot of work and HeadlessUI is an open-source library, it's a somewhat necessary part of TailwindUI, which is a service users pay for (and not a small amount IMO). Until Svelte support is added, at least for me personally it doesn't make sense to pay for TailwindUI. |
I agree with @jiri |
As someone who both purchased Tailwind UI personally & had my former company buy a Tailwind UI Team license, this creates a bit of a quandary, because we use SvelteKit now for new projects. I know HeadlessUI is a prerequisite step in that direction. Would love clarity on how the community can help contribute to official Headless UI for Svelte support--requirements to be met to merge PRs for official support, need a suggestion of a Svelte contractor, etc? Thx! |
I'd also be very willing to contribute to an official Svelte port. Svelte is on the rise :) |
My focus was on making the bundle size as small as possible and exploring an alternative "sveltier" approach (stores + actions instead of wrapper components and slots, which help with reducing the bundle size and I find simpler to consume). I think the approach works but it's really missing thorough unit testing right now which I have on my TODO list (just been busy with work projects). Ideally the testing system would be made less framework specific to make correctness and consistency across all implementations easier. |
+1 |
Just started a new project with SvelteKit and realizing how heavy a lift it is to do certain things using TailwindUI without svelte primitives. I was naive in thinking that the html versions of components would be easily reproducible. It's fine for some things, but for interactive elements like comboboxes and for transitions, finding the right combination of third-party libraries and custom work vs just going down a different road altogether has been a struggle. |
I have given up on Tailwind UI for Svelte, tho its fair, they have a lot on their plate and might get to this sometime later. That being said, have really good hopes from Melt UI: https://github.com/melt-ui/melt-ui It's the closest to a complete headless library |
Nice, thanks! I'll take a look. |
No description provided.
The text was updated successfully, but these errors were encountered: