Is there an existing tailwind-react library to use?

I recently bought tailwindui, but I find it quite annoying to manually create a component for every single component, i.e. copy-pasting the html, then adding various props with 'class-variance-authority' etc. Is there a pre-existing tailwind react component library, where we can simply copy the existing .tsx files into our project? I feel like this would save a lot of time, while also having full control over the components themselves.
3 Replies
Brendonovich
Brendonovich2y ago
GitHub
GitHub - shadcn/ui: Beautifully designed components built with Radi...
Beautifully designed components built with Radix UI and Tailwind CSS. - GitHub - shadcn/ui: Beautifully designed components built with Radix UI and Tailwind CSS.
jonnyfapson
jonnyfapsonOP2y ago
Thanks, this seems to be exactly what I was looking for! Thanks, but from my understanding the customizability seems to be very limited, as it only provides the react components as exports. But can you also override these styles globally?
mattddean
mattddean2y ago
Can’t recommend shadcn enough. It sets you up with great patterns to build your own component library. Start with what it has, when you need a new component, mimic its architecture. When you need to customize something, just edit the code
Want results from more Discord servers?
Add your server