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

serpapi logo
SerpApi

The Web Search API for Your LLM and AI Applications

Visit SerpApi

The latest

View all →
Cutting Laravel News' Laravel Cloud Bill Nearly in Half image

Cutting Laravel News' Laravel Cloud Bill Nearly in Half

Read article
Inertia UI Notifications: Toasts and a Laravel Inbox image

Inertia UI Notifications: Toasts and a Laravel Inbox

Read article
Laravel AutoBuilder: Build Visual Automation Workflows image

Laravel AutoBuilder: Build Visual Automation Workflows

Read article
Pun: Format, Lint, and Analyze PHP With One Rust Binary image

Pun: Format, Lint, and Analyze PHP With One Rust Binary

Read article
Form Request Model Lookups and PHP 8.6 Support in Laravel 13.44 image

Form Request Model Lookups and PHP 8.6 Support in Laravel 13.44

Read article
Generate Laravel Validation Rules From a JSON Schema image

Generate Laravel Validation Rules From a JSON Schema

Read article