A Rust clone targeting Tailwind CSS v4.1 behavior.

ironframe is an OSS project that re-implements Tailwind CSS v4.1-equivalent features in Rust. It separates scanner, generator, config, and CLI crates for fast iteration in learning and prototyping.

JIT Build Loop

Comes with scan/build/watch commands so you can regenerate CSS quickly as templates change.

Tailwind-style Input

Supports workflows around @import tailwindcss, @source, @apply, and split imports.

Modular Rust Design

Split into core/scanner/generator/config/cli crates for easier extension and experimentation.

Setup and Basic Usage

After cloning the repository, install the CLI (or run through cargo) and start with scan/build to verify class extraction and CSS output.

Setup

cargo install --path crates/cli

CLI Example

shell
# 1) Extract class candidates
ironframe scan "src/**/*.{html,tsx}"

# 2) Build CSS once
ironframe build --out dist/app.css "src/**/*.{html,tsx}"

# 3) Build with input CSS and config
ironframe build --input-css src/app.css -c tailwind.toml --out dist/app.css "src/**/*.{html,tsx}"

# 4) Rebuild on file changes
ironframe watch --out dist/app.css "src/**/*.{html,tsx}"
Important Note

ironframe is a learning/prototyping implementation targeting Tailwind CSS v4.1-equivalent behavior so validate compatibility and output differences against your existing CSS before production use.

முந்தையது

OSS List

அடுத்தது

README / Full Specs