
Security News
Another Round of TEA Protocol Spam Floods npm, But It’s Not a Worm
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.
styled-wind
Advanced tools
A magical implementation of tailwind-like classnames into styled-components.
Styled-wind is a CSS-in-JS library, written on top of styled-components. It inherits everything from styled-components and also gives you the flexibility to use tailwind classnames along with styled-components. Read the docs to know more.
Styled-components is one of the most famous CSS-in-JS library and has been favorite styling tool in the React ecosystem. On the other hand, tailwind css has gained a lot of momentum recently because of the ease of use and quick development of responsive web apps. However, there are few practical issues in using tailwind css. This library is an attempt to get the best of both worlds.
See the Quick start guide for more details.
Basic knowledge of styled-components and tailwindcss. The list of tailwind class names can be found here
Contributions & Suggestions welcome
React Native support is not added yet
Tailwind classnames aren't supported yet inside keyframes and expressions. However you may still use regular CSS for expressions & keyframes
// Not allowed. Will be implemented in future
const StyledComponent = styled.div`
@keyframes mymove{
from { .top-10 }
to { .top-16 }
}
`;
// Allowed
const StyledComponent = styled.div`
@keyframes mymove {
from {
top: 0px;
}
to {
top: 200px;
}
}
`;
Animation classes aren't supported yet.
Custom theme can currently be configured only inside index.html file
No support for variants as we find no dominant use case in component world
Please report if you happen to find any issues.
Check out the CodeSandBox to see styled-wind in use.
The creators of the library are always open to discussions/suggestions. Their twitter accounts:
Thanks goes to these awesome people for their wonderful contributions!
Ameer Jhan | Vilva Athiban P B | Sudharsan | Shashank Bairy R | Yash Joshi | Vignesh Elangovan | Nithish D |
MIT © Product Ride
FAQs
Use tailwind like classess in styled components
We found that styled-wind demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.