Shadcn-ui variation without Tailwind #2832
Replies: 22 comments 27 replies
-
Yes, please. |
Beta Was this translation helpful? Give feedback.
-
Is there any? I'll make one if there's none. |
Beta Was this translation helpful? Give feedback.
-
I have begun a starter template using css modules and next.js. Its nothing fancy as shadcn has but personally I feel this could work quite well. https://github.com/qwalker8408/shadcn-css The big limiting factor is documentation wont be publicly available but I want to instead have a page (shadcn) that has all the components, its basically the same as the section of all the preview tabs on shadcn's website for each component, and the developer can just copy and paste that section from the code into a page they're creating. I appreciate any ones thoughts on this and hopefully some help. I'm finishing up on making sure the page that houses all the components is as smooth as butter. Alot of extra styling is applied apart from the components itself, not to mention animation. for the love of css :) |
Beta Was this translation helpful? Give feedback.
-
Or I think it would be nice too if using |
Beta Was this translation helpful? Give feedback.
-
shadcn with css modules is a must ! |
Beta Was this translation helpful? Give feedback.
-
Second you! Shadcn's components are cool. |
Beta Was this translation helpful? Give feedback.
-
Am willing to contribute to start this going! |
Beta Was this translation helpful? Give feedback.
-
I was just playing around with a way to abstract out all the styling information and came up with a proposal that would also allow defining a style that could use css modules instead of tailwind. Might be crazy, but it's in this discussion if you want to take a look. |
Beta Was this translation helpful? Give feedback.
-
Tailwind is the only thing stopping me from using shadcn, would love to see this happen. |
Beta Was this translation helpful? Give feedback.
-
Ten months have already passed does anyone know if this is going to be scheduled or at least considered? |
Beta Was this translation helpful? Give feedback.
-
Tailwind is pure cancer. Incurable. So, yes, please, let this be. |
Beta Was this translation helpful? Give feedback.
-
I love shadcn and still haven't tried it yet because i f...in hate tailwind. i prefer to write my styles in plain css or scss modules |
Beta Was this translation helpful? Give feedback.
-
Shadcn in essence is Radix-UI + tailwind. So just use Radix-UI if you don't want tailwind. |
Beta Was this translation helpful? Give feedback.
-
+1 to this, i can help if anyone is interested in starting this project |
Beta Was this translation helpful? Give feedback.
-
It seems this has not been picked up anyone? :( |
Beta Was this translation helpful? Give feedback.
-
I recently started an Electron application. I loved Shadcn's approach to customizing my components. As soon as I went to install it, I saw that Tailwind was mandatory. I've never liked these frameworks for many reasons that I won't name. But I still decided to give it a try. I went to the Tailwind documentation and started following the installation instructions. On the second line I already had problems. I found that Tailwind and StyleLint are not supported. If you want linter you have to install a Prettier plugin. I also use Esbuild directly in my project for reasons that are too long to explain, but there is no documentation or plugins to work with ESbuild. I also kept looking and saw that in the recently released version 4 they changed a lot of things. When I install Tailwind it no longer creates a configuration file for me. It may be my mistake, but I don't believe it, and the init command no longer works. In the end I don't know if I should configure postcss or not... I could go on telling you about my experience. 90% of the documentation and posts on stackoverflow no longer apply to the new version of Tailwind. Apparently, Tailwind is easy to install when it's for a framework, but as soon as you get out of that, it becomes quite tedious. I'll just say that I didn't know Tailwind, and right now I hate it with all my heart. I'll try to use radix components with pure css to see if I don't have too much difficulty. |
Beta Was this translation helpful? Give feedback.
-
The dependency on Tailwind is the only thing stopping my office from switching to shadcn/ui right now; besides Tailwind, it looks perfect. It's been a year of this discussion remaining popular, I would love a word from @shadcn on whether a regular-CSS version is in the roadmap. |
Beta Was this translation helpful? Give feedback.
-
Yeah. It's called mantine: https://mantine.dev/ You all should give it a look. More components, hooks and other features. A like for like between Mantine and ShadCN is not even comparable. It's night and day. |
Beta Was this translation helpful? Give feedback.
-
Will there be any comments from the developers? Tailwind is a very controversial thing and to nail your beautiful library to a very controversial library is very frustrating @shadcn |
Beta Was this translation helpful? Give feedback.
-
I'm about to start a project that requires shadcn/ui, and I'm absolutely worried because of TailwindCSS. I don't like the clutter that is TailwindCSS. Any plans to support other styling engines @shadcn ? |
Beta Was this translation helpful? Give feedback.
-
I'm currently working on a side project, it's a converter tool with a CLI which will convert the tailwind to css modules. |
Beta Was this translation helpful? Give feedback.
-
The effort isn't worth the maintenance cost tbh. I think you're underestimating the time-saving, consistency that tailwind brings to the table. Questions you need to answer in any shadcn owned solution will be:
I can't imagine @shadcn wants to be maintaining |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone,
I've been exploring the shadcn-ui package and I must say, it's quite promising. However, I have a query regarding its dependency on Tailwind CSS. Is there any plan in the pipeline to release a version of shadcn-ui that doesn't rely on Tailwind? Alternatively, will it remain exclusively Tailwind-centric in its design approach?
From a personal perspective, I find Tailwind CSS a bit restrictive, and I prefer the flexibility of customizing components with regular CSS, akin to the approach taken by Ant Design. Moreover, in organizational settings, heavy reliance on Tailwind can sometimes lead to cluttered codebases, making components harder to comprehend, read, and maintain.
I believe offering an option to utilize regular CSS for customization alongside or instead of Tailwind would greatly enhance the appeal and versatility of shadcn-ui, catering to a broader range of preferences and use cases.
Looking forward to hearing your thoughts on this matter.
Beta Was this translation helpful? Give feedback.
All reactions