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 validation workflow

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

Install

cargo install --path .

CLI Example

terminal
# 1) Run without installing
cargo run -- scan "src/**/*.{html,tsx}"

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

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

# 4) Compare output with reference CSS
ironframe build -i src/app.css -o dist/app.css --compare-css dist/app.tailwind.css "src/**/*.{html,tsx}"

# 5) Watch mode with polling
ironframe watch --poll --poll-interval 250 -o 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