News

Generate Tailwind Utility Stylesheets on Demand with Curlwind

Published
Generate Tailwind Utility Stylesheets on Demand with Curlwind image

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.

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.

Paul Redmond photo

Staff writer at Laravel News. Full stack web developer and author.

Sponsored

masteringlaravel logo
Laravel Code Review

Get expert guidance in a few days with a Laravel code review

Visit Laravel Code Review

The latest

View all →
Agent Run Observability in Laravel AI SDK 0.11 image

Agent Run Observability in Laravel AI SDK 0.11

Read article
Debounced Queued Event Listeners in Laravel image

Debounced Queued Event Listeners in Laravel

Read article
Statamic Mailables Viewer Previews Laravel Emails in the Control Panel image

Statamic Mailables Viewer Previews Laravel Emails in the Control Panel

Read article
Laravel Tackle: Run an AI Coding Agent in Your Laravel App image

Laravel Tackle: Run an AI Coding Agent in Your Laravel App

Read article
Queue::forward(): Reroute Laravel Queues in One Place image

Queue::forward(): Reroute Laravel Queues in One Place

Read article
Laravel Read-Through Filesystem: Lazy Storage Migration image

Laravel Read-Through Filesystem: Lazy Storage Migration

Read article