Improve readibility of tailwindcss classes #10810
behnammodi
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
tailwindcss
is a super powerful tool for creating UI on the web. but in big projects, it looks like a mess.I recently started to create something to reduce this messiness:
https://www.npmjs.com/package/tailwindy-components
The idea is we can have a readable structure like what we see on
styled-components
So rather than write something like this:
We can have something like this:
This is an idea and you can see an example on Codesanbox:
https://codesandbox.io/s/tailwindy-example-1-ezzokr
The big issue is how can we integrate
tailwindy-components
withother parts of
tailwindcss
such as tailwindcss-intellisenseBeta Was this translation helpful? Give feedback.
All reactions