-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[Feature Request]Tailwind v4 support. #4644
Comments
I am facing the same problem. When is the heroui update expected? I tried this! It didn't work. hero.ts
global.css
|
You can find heroui/packages/core/theme/src/plugin.ts Line 50 in cddba82
heroui/packages/core/theme/src/plugin.ts Line 158 in cddba82
This should be easily solved. However I don't know why Tailwind CSS requests "utilities must be a single class name and start with a lowercase letter", maybe it doesn't admit pseudo-classes. According to MDN, |
same questions |
I think this should be a high priority for Hero UI, as this is effectively a blocker for adopting Tailwind 4 for any projects that use Hero UI. Btw, thanks for the awesome UI library! |
When will the HeroUI version supporting Tailwind v4 be released? |
When will the update be released? I think the developers should have followed the development of tailwind, since hero is strictly dependent on tailwind, and released the update together with the release of tailwind 4. Otherwise, hero is useless now |
looking forward to this! |
It says in the docs. but tailwind v4 is not supported yet! |
Actually, Tailwind 4.0 Beta has been out since Nov 21, 2024, so it's been almost 3 months. Not to mention that Tailwind |
I come here almost daily to see if there is a solution and nothing 😔️. It's been a while. |
+1 |
Another vote for V4 support please! 🙏🙏🙏🙏🙏🙏🙏🙏🙏 |
+1 |
Hey guys, currently you can use heroui tailwindcss v4 through the preview version, follow the guided migration at the link |
Hey guys i have created a heroui template for tailwindcss v4 which can refer to the migration |
This does not work with nextjs as it does not use vite. The styles are not displayed anyway. |
You can refer to PR modifications, the documentation is using nextjs |
Any idea when we can expect the support for Tailwind v4? I'm just starting a new project and need to decide on the UI library and the lack of support for v4 holds me back on HeroUI (and I'd really like to use it). |
+1 |
Is your feature request related to a problem? Please describe.
The new version of tailwind comes with a breaking change feature to HeroUI. v4 removes the
tailwind.config.js
.This change breaks HeroUI, making the components unable to show the right style.
Describe the solution you'd like
A new version of the docs showing how we can install HeroUI with the new version of TailwindCSS.
Describe alternatives you've considered
Trying to use tailwind's way to upgrade to v3 to v4 using
With no success. It just show this error message:
Screenshots or Videos
How a Button is showing when using the new version of Tailwindcss.
The text was updated successfully, but these errors were encountered: