Oxide Engine - 10x Faster
Tailwind CSS 4 is a complete rewrite powered by the Oxide engine (Rust-based), delivering build speeds up to 10x faster than v3. Hot reload is nearly instant.
Zero-Config
No more tailwind.config.js. Tailwind 4 auto-detects content files and uses a CSS-first configuration approach. All config lives directly in your CSS file.
Native CSS Variables
Colors, spacing, and breakpoints all use CSS custom properties. Easy to override and create dynamic themes without any JavaScript.
Container Queries
Built-in support for @container queries. Responsive design based on parent container size instead of the viewport - perfect for component-based architectures.
Should You Upgrade?
Absolutely. The migration path is smooth, the performance improvement is significant, and the CSS-first approach results in much cleaner code.