Skip to content
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

Move from headless-ui to melt-ui #87

Closed
MrGreenTea opened this issue Mar 5, 2024 · 3 comments · Fixed by #547
Closed

Move from headless-ui to melt-ui #87

MrGreenTea opened this issue Mar 5, 2024 · 3 comments · Fixed by #547
Labels
refactor Improves existing code

Comments

@MrGreenTea
Copy link
Contributor

We've used the svelte-headlessui package for some components. This was before we found melt-ui.

There are multiple reasons to remove svelte-headlessui:

  • svelte-headlessui is not updated anymore
  • svelte-headlessui causes some warnings
  • melt-ui is more idiomatic for svelte
@MrGreenTea MrGreenTea added the refactor Improves existing code label Mar 5, 2024
@MrGreenTea
Copy link
Contributor Author

Components that still use headless-ui:

@MrGreenTea
Copy link
Contributor Author

One more reason: it does not work with svelte 5: #441

@MrGreenTea
Copy link
Contributor Author

MrGreenTea commented Jan 30, 2025

There is also bits-ui used by shadcn-svelte for example:

https://bits-ui.com/docs/introduction


After some research: shadcn-svelte builts on bit-ui which uses melt-ui under the hood. It's turtles all the way down:

huntabyte/bits-ui#240

MrGreenTea added a commit that referenced this issue Jan 30, 2025
This is preparation for the update to svelte 5.

Closes: #87
MrGreenTea added a commit that referenced this issue Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Improves existing code
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant