We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Tailwind v3 supports data attributes, e.g.
<div data-size="large" class="data-[size=large]:p-8"> <!-- ... --> </div>
These are useful for libraries like Radix UI that uses data attributes for state-based styling.
Perhaps a syntax like tw.data("size=large", tw.p_8) would work.
tw.data("size=large", tw.p_8)
The text was updated successfully, but these errors were encountered:
For Radix UI, I found that https://github.com/ecklf/tailwindcss-radix works perfectly with Typewind.
Sorry, something went wrong.
No branches or pull requests
Tailwind v3 supports data attributes, e.g.
These are useful for libraries like Radix UI that uses data attributes for state-based styling.
Perhaps a syntax like
tw.data("size=large", tw.p_8)
would work.The text was updated successfully, but these errors were encountered: