A problem i found in your latest update in the Shadcn Update #9172
Unanswered
Khushmankalsi
asked this question in
Request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello shadcn/ui team 👋
First of all, thank you for the recent updates — the new Create Project / Preset flow is very smooth and well designed.
While using it with React + Vite, I noticed a small but important gap that I hope you’ll consider.
When creating a project using the preset command copied directly from the UI, the setup completes successfully, but Tailwind CSS is not installed, even though shadcn/ui components depend entirely on Tailwind for styling.
For example "npx shadcn@latest create --preset "https://ui.shadcn.com/init?base=base&style=maia&baseColor=neutral&theme=neutral&iconLibrary=hugeicons&font=raleway&menuAccent=subtle&menuColor=default&radius=large&template=vite" --template vite
"
Observed behavior:
The command does not produce usable output for shadcn setup
Installation is blocked because Tailwind configuration files are missing
As we all know Tailwind must be installed with shadcn (This problem is mainly in react as for next we all know tailwind is a type of pre-installed)
This can be confusing—especially for new React users—because the Create Project flow implies a complete setup, but Tailwind is a required dependency for shadcn/ui to function.
I understand that shadcn/ui assumes Tailwind CSS is already present in the project, but this requirement is not clearly communicated in the UI or CLI output.
Kind request:
Please consider:
Automatically installing Tailwind CSS when using shadcn create, or
This is not a functional bug in shadcn/ui itself, but addressing this would greatly improve the onboarding experience and prevent setup confusion.
Thank you for your time and for the excellent work on shadcn/ui. I hope you’ll consider this feedback and possibly address it in a future update.
Beta Was this translation helpful? Give feedback.
All reactions