identity-obj-proxy
tailwindcss-classnames
identity-obj-proxy | tailwindcss-classnames | |
---|---|---|
1 | 2 | |
489 | 691 | |
- | - | |
0.0 | 5.9 | |
over 2 years ago | 12 months ago | |
JavaScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
identity-obj-proxy
-
How to Build A React TS Tailwind Design System
Well, Jest doesn't know how to read CSS. Also, it doesn't really care about it either, so we will have to mock it for him with identity-obj-proxy (to learn more about why go here). Let's add it:
tailwindcss-classnames
-
Can any tell me why this is not working when i initially run the project.
There's also [tailwindcss-classnames](https://www.npmjs.com/package/tailwindcss-classnames) which is handy, despite the little bit of learning curve
-
How to Build A React TS Tailwind Design System
One last thing that can be helpful is using a library like [tailwind-classnames](https://github.com/muhammadsammy/tailwindcss-classnames) which helps validate you are using correct class names, and if you don't TS will yell at you. It has the full capability and API of the known [classnames](https://www.npmjs.com/package/classnames) library, as it is just an extension of it.
What are some alternatives?
PostCSS - Transforming styles with JS plugins
tailwind-merge - Merge Tailwind CSS classes without style conflicts
compiled - A familiar and performant compile time CSS-in-JS library for React.
twin.macro - ๐ฆนโโ๏ธ Twin blends the magic of Tailwind with the flexibility of css-in-js (emotion, styled-components, solid-styled-components, stitches and goober) at build time.
Visual Studio Code - Visual Studio Code
formik - Build forms in React, without the tears ๐ญ [Moved to: https://github.com/jaredpalmer/formik]
tsdx - Zero-config CLI for TypeScript package development
tailwindcss-intellisense - Intelligent Tailwind CSS tooling for Visual Studio Code
react-cmdk - A fast, accessible, and pretty command palette for React
jest-styled-components - ๐ง ๐ Jest utilities for Styled Components
cva - Class Variance Authority