Tailwind CSS
Frontend & MobileA utility-first CSS framework for rapid UI development.
Release History
v4.1.1811 fixes5 featuresThis release focuses on bug fixes and stability improvements for the CLI, Vite plugin, and JS configuration compatibility. Key updates include better CSS error reporting, source map fixes in watch mode, and improved canonicalization of utility classes.
v3.4.191 fixThis release fixes a bug where sibling-related functions failed to function correctly when used within CSS calc() expressions.
v4.1.172 fixesThis release focuses on stability improvements, including a fix for Windows worker thread crashes and correcting @variant substitution in legacy JS APIs.
v4.1.164 fixesThis maintenance release focuses on bug fixes related to CSS canonicalization, specifically improving the handling of arbitrary variants, attribute selectors, and nested color definitions.
v4.1.158 fixes1 featureThis release focuses on bug fixes for CSS parsing, theme resolution, and browser-specific rendering, while also migrating the deprecated `break-words` utility.
v4.1.1410 fixes5 featuresThis release focuses on bug fixes for CSS generation, improved class extraction for ClojureScript and Maud, and enhancements to the automated upgrade tool.
v3.4.183 fixes3 featuresThis release focuses on bug fixes for Node 22.18+ compatibility, improved PostCSS configuration loading, and refinements to arbitrary value queries and utility rule matching.
v4.1.136 fixes3 featuresThis release focuses on refining variant handling, improving CSS output efficiency, and migrating legacy theme keys to the new @custom-variant syntax. It also includes several bug fixes for transitions, completions, and folder indexing.
v4.1.1211 fixes5 featuresThis release focuses on bug fixes and parser improvements, including better support for Elixir and Slang templates, improved CSS parsing, and fixes for the PostCSS and Node integrations.
v4.1.113 fixes1 featureThis release introduces support for Vite 7 and improves CSS candidate extraction for Clojure/ClojureScript, alongside minor CLI documentation updates and migration heuristic fixes.
v4.1.101 fixThis patch release fixes a bug in the CSS generator where percentage values inside arbitrary value calc() functions were being processed incorrectly.
v4.1.96 fixesThis release focuses on refining the upgrade migration logic and fixing CSS parsing issues, specifically regarding custom properties, arbitrary values, and math expression formatting.
v4.1.87 fixes3 featuresThis release focuses on refining the upgrade tool, improving error reporting for @apply, and fixing crashes related to PostCSS, Haml, and malformed arbitrary values.
v4.1.7Breaking9 fixes2 featuresThis release focuses on improving the upgrade migration path, including better performance via caching and kebab-case normalization for named values, alongside several CSS extraction and CLI bug fixes.
v4.1.67 fixes4 featuresThis release introduces development source maps, improved logging for file scanning, and performance optimizations for dependency updates, alongside several fixes for arbitrary value handling and HAML extraction.
v4.1.58 fixes3 featuresThis release introduces new line-height utilities, improves @starting-style transitions, and enhances the @tailwindcss/upgrade tool for v4 maintenance. It also includes several bug fixes for file scanning, PostCSS error recovery, and theme suggestions.
v4.1.49 fixes1 featureThis release introduces an experimental WASM target for browser environments and includes several bug fixes for color-mix polyfills, shadow inheritance, and theme variable conversion.
v4.1.33 fixesThis release focuses on bug fixes for PostCSS caching with Turbopack, improved class detection in Slim templates, and better validation for bare value data types.
v4.1.27 fixes1 featureThis release focuses on bug fixes for PostCSS and Vite integrations, improves incremental build performance on Windows, and enhances CSS polyfill reliability for @property and color-mix().
v4.1.13 fixesThis release focuses on bug fixes for CSS polyfill injection order, CLI dependency cleanup, and brace expansion behavior in inline sources.
v4.1.0Breaking7 fixes11 featuresThis release introduces several new variants and utilities including text-shadow and mask support, while refining the @source directive behavior and ignoring node_modules by default.
v4.0.171 fixThis release fixes a bug where the Tailwind CSS CLI would hang while processing Ruby files.
v4.0.167 fixes1 featureThis release introduces support for literal values in CSS functions and provides several bug fixes for template extraction, Vite integration, and CLI file handling.
v4.0.15Breaking10 fixes2 featuresThis release focuses on bug fixes for CSS variable handling, Vue template processing, and browser-specific crashes, while updating the --theme() function to prefer CSS variables.
v4.0.143 fixesThis release focuses on improving the reliability of the class candidate extractor, specifically fixing issues with JavaScript interpolation, variants with dots, and Clojure support.
v4.0.135 fixesThis release focuses on bug fixes for template pre-processors (Haml, Pug, Slim) and performance optimizations for file scanning, specifically for JSON and binary files.
v4.0.127 fixesThis release focuses on bug fixes for CSS url() rebasing in Vite and PostCSS, alongside improvements to class extraction across various template engines like Pug, Slim, Razor, and PHP.
v4.0.115 fixesThis release focuses on improving the accuracy of the class extraction engine, specifically fixing edge cases involving special characters, Slim templates, and arbitrary values.
v4.0.10Breaking8 fixes2 featuresThis release introduces new grid column/row utilities and a rewritten candidate extractor for better performance and accuracy. It also removes invalid max-size utilities and fixes several issues related to CSS emission and framework-specific syntax detection.
v4.0.96 fixes1 featureThis release focuses on bug fixes for the Vite integration, Standalone CLI, and @reference directive, while improving CSS variable output efficiency.
v4.0.87 fixes1 featureThis release improves Vite integration by refining source scanning and .gitignore handling, while also optimizing CSS output by excluding unused theme variables.
v4.0.714 fixesThis maintenance release focuses on bug fixes, improving IntelliSense suggestions, and enhancing the upgrade tool's reliability, including better backward compatibility for internal utilities and types.
v4.0.61 fixThis release reverts a recent optimization to ensure all theme variables are included in the compiled CSS, even if they are not explicitly used.
v4.0.5Breaking1 fix1 featureThis release optimizes CSS output by excluding unused theme variables by default and introduces a 'static' option for the @theme directive to override this behavior.
v4.0.410 fixesThis maintenance release focuses on bug fixes across theme resolution, CSS variable handling, and environment-specific issues in Vite, Linux, and FreeBSD.
v4.0.31 fixThis release contains a bug fix to prevent the incorrect removal of CSS @import URL statements.
v4.0.212 fixesThis maintenance release focuses on bug fixes for CSS parsing, Vite integration (specifically for SolidStart), and refining the behavior of @theme and @variant directives.
v4.0.116 fixes1 featureThis release improves the 'open' variant with pseudo-class support and provides numerous bug fixes for utility generation, framework-specific scanning (Svelte/Angular), and configuration migration.
v4.0.0Breaking11 featuresTailwind CSS v4.0 is a major performance-focused rewrite featuring a new high-speed engine, CSS-first configuration, and native support for modern web features like container queries and 3D transforms.
v4.0.0-beta.10Breaking8 fixes2 featuresThis release introduces @custom-variant for CSS-defined variants, updates outline-hidden behavior, and transitions to a modern alpha syntax. It also includes several bug fixes for the CLI, IntelliSense, and theme resolution.
v4.0.0-beta.9Breaking8 fixes6 featuresThis release introduces a browser-based package, new CSS functions for spacing and themes, and the @reference API. It also includes several utility renames and experimental migration improvements for theme functions.