I created a collection of UI Components for React built with Tailwind CSS containing over 20 components with over 50 variants.
You can just copy and paste the component you want to use.
The biggest disadvantage of using Tailwind is the risk of having too long classes that will make the code not readable enough.
As React is component-based, we can extract component logic with its classes and reuse them elsewhere which will result in more readable code with more components and less classes.
That's why I created this collection named Kimia-UI and it's fully customizable. If you are a Typescript lover, the full source code and all examples are written in Typescript so you won't worry about types.
The project is open to contributions and you can contribute by adding a component, improving accessibility or opening a new issue for a new component or idea.
Top comments (36)
Just curious, did you manage to only purge the unused css?
E.g. if I only use the primary colour, in all the Buttons, throughout my project, would the resulting styles contain also "success", "danger" etcetera... or would the unused styles be purged?
The main idea of this collection is to customize everything according to your needs. By default, all the classes defined for button will be preserved. if you want them to be purged automatically, you can only define the colour that you want to use (eg: primary only).
Interesting! I will have a look, thanks for it!
What an incredible job! Thank you for this, I’ll try and contribute as much as I can.
Nice job! Thank you they are super clean. :) Are you Tim Creative's son ? 😇
No i am not 😃
This looks so clean! I just made a post about my favorite Tailwind component libraries.
I'll definitely use your library in my next project and update my list!
Good job , nice !
It's amazing +respect
These are very nice. I will note that I don't think you've added any event handlers for listening for the "ESC" key when the overlays/toasts are open so the user can dismiss things like menus.
I have fixed it, you can now dismiss toast with ESC key
This is super awesome!
(Could have called it Rewind 😂)
😃😃 i chose that name for SEO purpose
Nice job man!
That’s all i was looking for
What's the difference between this and Chakra UI?
Chakra UI is a UI component library and you have to install it. Tailwind CSS is a css utility framework, so it does not come with any components. You have to create all your components from scratch and this can be annoying for experienced developers or difficult for beginners.
That's why I created this collection to simplify that process so you can simply copy and paste any component you want to use and customize it as you wish.
I will start contributing soon, this project looks amazing, good job