Generate Tailwind Utility Stylesheets on Demand with Curlwind
Last updated on by Paul Redmond
Curlwind is a no-build Tailwind to get the CSS utility classes you want. It allows you to generate Tailwind stylesheets on demand and those generated stylesheets are cached indefinitely so your site stays fast.
https://t.co/dYj3adjqkH is now live! 🎉
— Steve Bauman (@ste_bau) January 20, 2024
Check out the demo here
Let me know what you think! ❤️
It's also open source -- see below for link 👇 pic.twitter.com/WfvrYs16lM
The author mentioned that this project is for very niche use-cases. I thought it might be useful in cases where you don't have a build step, want to introduce Tailwind to an existing project in a limited capacity, or perhaps you only want specific Tailwind utilities:
- Don't need to install node
- Don't need to install tailwind
- Don't need to configure tailwind
- Don't need to have any build step (no watcher, etc)
It works by providing the utlities you want as query params in the URL, and supports wildcards:
<link href="https://cdn.curlwind.com?classes=p-*,m-*">
You can learn more about this project and get started by visiting curlwind.com. The source code is available on Github at stevebauman/curlwind.