Tailwind Release Notes
37 release notes curated from 22 sources by the Releasebot Team. Last updated: Nov 7, 2026
- Nov 6, 2026
- Date parsed from source:Nov 6, 2026
- First seen by Releasebot:Nov 7, 2026
v4.3.5
Tailwind fixes performance with many functional variants, improves color-mix and CSS comment handling, and resolves WASI file-detection, loading, and TypeScript declaration issues.
Fixed
- Canonicalization: improve performance in projects with many functional variant values (e.g. a matchVariant plugin with thousands of values) (#20663)
- Don't crash or create a fallback with the wrong color for a color-mix(…) without a color interpolation method (e.g. color-mix(var(--color-red-500)) or color-mix(currentcolor 50%, transparent)) (#20658, #20666)
- Ensure @tailwindcss/oxide-wasm32-wasi loads instead of hanging forever (e.g. with NAPI_RS_FORCE_WASI=error or in WebContainers) (#20667)
- Remove as: '*.css' from the @tailwindcss/turbopack setup in its README, because it breaks CSS modules (#20660)
- Ignore <!-- and --> between top-level rules in CSS instead of throwing or swallowing the next rule (e.g. a { color: red } --> b { color: blue }) (#20665)
- Ensure @tailwindcss/oxide-wasm32-wasi detects changed and new source files after the first scan (e.g. in WebContainers) (#20487)
- Prevent type errors with skipLibCheck: false caused by imports of unshipped modules in the @tailwindcss/node type declarations (#20632)
- Nov 2, 2026
- Date parsed from source:Nov 2, 2026
- First seen by Releasebot:Nov 2, 2026
v4.3.4
Tailwind adds a Turbopack loader for Next.js and delivers a wide-ranging update to its CSS tooling, with fixes for framework integrations, class detection, canonicalization, watch mode, and CSS parsing and output.
Added
- Add @tailwindcss/turbopack, a Turbopack loader for using Tailwind CSS with Next.js (#20367)
Fixed
- Ensure watch mode detects changes to symlinked @source files whose real paths aren't otherwise scanned (#20356)
- Ensure variants using @scope wrap generated utilities instead of nesting inside them (#20369)
- Ensure nested @scope rules preserve their scoping semantics when flattened (#20369)
- Preserve declarations directly inside @scope by wrapping them in :where(:scope) (#20369)
- Ensure generated utilities include a space in empty var() fallbacks (e.g. var(--tw-blur,) → var(--tw-blur, )) (#20373)
- Canonicalization: convert arbitrary breakpoint and container query variants to named equivalents (e.g. max-[64rem]:flex → max-lg:flex) (#20380)
- Prevent @tailwindcss/vite from crashing on every edit under Vite's experimental bundledDev mode (#20379)
- Ensure @tailwindcss/oxide falls back to WASM on platforms without native bindings (#20383)
- Extract class candidates from Ruby %w and %W literals using angle brackets or custom delimiters (e.g. %w<flex>, %w|flex|), including in Slim and Haml templates (#20387)
- Preserve whitespace in --default(…) values in functional @utility definitions (e.g. --default(box alphabetic) no longer becomes boxalphabetic) (#20392)
- Ensure automatic source detection respects negation-based .gitignore files (e.g. /* followed by !/… patterns) (#20397)
- Ensure root theme('…') namespace lookups in JavaScript plugins and config files return the full namespace object instead of the value of its DEFAULT key (#20399)
- Skip ignored directories when generating watch globs instead of walking their contents on every rebuild (#20408)
- Drop invalid UTF-8 candidates during class detection (#20389)
- Prevent @tailwindcss/vite from forcing full-page reloads for scanned files that Vite does not handle as modules (e.g. .php files) (#20414)
- Canonicalization: don't merge utilities that reference different theme variables set to CSS-wide keywords like unset (#20417)
- Don't generate utilities when a modifier is used that would otherwise be silently ignored (e.g. rounded-sm/[5], shadow-sm/foo, stroke-2/50) (#20419)
- Preserve and, or, and not inside selectors in supports-[…] variants (e.g. supports-[selector(a:not(.foo))]:flex) (#20420)
- Don't warn about Angular's ::ng-deep and :host-context() when optimizing CSS (#20434)
- Don't generate CSS for candidates containing an empty additional modifier (e.g. bg-red-500/50/ and group-hover/foo//bar:flex) (#20466)
- Ensure min-, max-, and container query variants with decimal values are sorted numerically (e.g. min-[40.25rem] before min-[40.5rem]) (#20512)
- Ensure CSS comments ending with */ are closed correctly instead of swallowing the CSS that follows (e.g. /* C:\temp*/) (#20508)
- Improve style invalidation performance of group-* and peer-* variants (#20513)
- Ensure cached compilers release their loadModule and loadStylesheet callbacks after compilation (#20531)
- Canonicalization: preserve & when moving a pseudo-element into * or ** (e.g. [&_::before]:flex → **:[&::before]:flex) (#20550)
- Ensure the Set.prototype.intersection polyfill in canonicalizeCandidates(…) returns the intersection instead of the first set on Node.js < 22 (#20562)
- Canonicalization: ensure inline theme(…) alphas with more than 2 decimals migrate to a percentage modifier with the same opacity (e.g. theme(colors.red.500/.12345) → text-red-500/[12.345%], not text-red-500/[12.345]) (#20563)
- Canonicalization: preserve inline theme(…) alphas as an arbitrary percentage when a custom --opacity-* theme value would change the opacity (e.g. theme(colors.red.500/50%) → text-red-500/[50%] with --opacity-50: 10%) (#20563)
- Ensure the @property fallback isn't applied in Safari versions that no longer support margin-trim: inline (#20569)
- Treat viewport units like dvmin and svi and font-relative units like cap and rex as lengths in arbitrary values (e.g. text-[10dvmin] generates font-size instead of color) (#20516)
- Write plugin logs to stderr in tailwindcss canonicalize so they don't end up in the results on stdout (#20561)
- Extract class shorthands on later lines when Pug text, comments, or quoted attribute values contain unbalanced brackets, or a quote that doesn't start a string (e.g. input(pattern=/"/.source)) (#20547, #20572)
- Underline the correct occurrence of an unsupported data type in --value(…) warnings (#20554)
- Canonicalization: prefer an existing candidate when collapsing utilities over another utility with the same default theme value (e.g. text-foreground text-primary → text-primary, not text-card-checked-border) (#20540)
- Canonicalization: don't collapse utilities into a utility that uses another theme variable with the same default value (e.g. mt-card mb-card → my-card, not my-4) (#20574)
- Ensure @tailwindcss/postcss rewrites relative url(…)s of stylesheets that are inlined before it runs (e.g. @imports in Vite) in optimized builds (#20576)
- Drop nested rules that put a combinator after a pseudo-element when using pseudo-element variants (e.g. selection:* on a utility with a nested & > * rule) (#20575)
- Don't generate CSS for arbitrary values with unbalanced parentheses or brackets (e.g. w-[calc(1px] or [--x:a[b]) (#20577)
- Canonicalization: prevent collapse: true from taking exponentially longer when classes are linked through a utility that sets many properties (e.g. sr-only) (#20558)
- Ensure & is substituted inside :-moz-any(…) and :-webkit-any(…) in custom variants (e.g. @custom-variant firefox (:-moz-any(&));) (#20486)
- Ensure the standalone macOS binaries have a valid code signature, so macOS 27 no longer kills them at launch (#20578)
- Ensure @tailwindcss/turbopack and @tailwindcss/webpack rebuild when the input CSS changes (e.g. next dev with Turbopack no longer serves the CSS of the previous edit) (#20582)
- Canonicalization: don't drop a utility that sets a --tw-* variable when an unrelated property has the same value (e.g. link mt-4 no longer becomes mt-4 when link sets margin-top: 16px and --tw-translate-x: 16px) (#20593)
- Decode single-digit hexadecimal escapes in theme variable and @utility names as the CSS spec does (e.g. @theme { --color-\0: red; } no longer registers --color-0) (#20591)
- Don't treat !important inside strings, comments or url() in declaration values as the important flag (e.g. content: "a !important b") (#20627)
- Parse a custom property at the end of the input when it has no trailing ; (e.g. --foo: bar as the last declaration) (#20653)
- Keep a declaration without a ; at the end of the CSS input (e.g. color: red) (#20655)
All of your release notes in one feed
Join Releasebot and get updates from Tailwind and hundreds of other software products.
- Jul 16, 2026
- Date parsed from source:Jul 16, 2026
- First seen by Releasebot:Jul 18, 2026
v4.3.3
Tailwind fixes and improves key CLI, PostCSS, Vite, and browser behavior, including more reliable watch mode, better color and selector handling, stronger CSS nesting support, and smoother rebuilds and rendering across platforms.
Fixed
- Support --watch --poll[=ms] in @tailwindcss/cli when filesystem events are unreliable or unavailable (#20297)
- Canonicalization: match arbitrary hex colors against theme colors case-insensitively (e.g. bg-[#fff] and bg-[#FFF] → bg-white) (#20298)
- Prevent Preflight from overriding Firefox's native iframe:focus-visible outline styles (#20292)
- Ensure theme('colors.foo') in JS plugins resolves correctly when both --color-foo and --color-foo-bar exist (#20299)
- Ensure fractional opacity modifiers work with named shadow sizes like shadow-sm/12.5, text-shadow-sm/12.5, drop-shadow-sm/12.5, and inset-shadow-sm/12.5 (#20302)
- Parse selectors like [data-foo]div as two selectors instead of one (#20303)
- Ensure @tailwindcss/postcss rebuilds when a preprocessor like Sass changes the input CSS without changing the input file on disk (#20310)
- Ensure CSS nesting is handled even when Lightning CSS isn't run, such as in @tailwindcss/browser and Tailwind Play (#20124)
- Prevent achromatic theme colors from shifting hue when mixed in polar color spaces like oklch (#20314)
- Ensure --spacing(0) is optimized to 0px instead of 0 so it remains a <length> when used in calc(…) (#20319)
- Load @parcel/watcher only when needed in @tailwindcss/cli --watch mode, so one-off builds and --watch --poll work when @parcel/watcher can't be loaded (#20325)
- Use explicit platform fonts instead of system-ui and ui-sans-serif so CJK text respects the page's lang attribute on Windows (#20318)
- Prevent @tailwindcss/upgrade from rewriting ignored files when run from a subdirectory (#20329)
- Ensure earlier @source rules pointing to nested files are scanned when later @source rules point to files in parent folders (#20335)
- Prevent @tailwindcss/vite from triggering full page reloads when scanned files are processed by Vite but haven't been loaded as modules yet (#20336)
- Jun 29, 2026
- Date parsed from source:Jun 29, 2026
- First seen by Releasebot:Jun 29, 2026
v4.3.2
Tailwind fixes and improves core utilities, CLI, Vite, and PostCSS with better watch mode stability, safer source scanning, expanded class extraction, and smoother support for variants, opacity suggestions, and newer PostCSS releases.
Fixed
- Support bare spacing values for auto-rows-* and auto-cols-* utilities (e.g. auto-rows-12 and auto-cols-16) (#20229)
- Prevent @tailwindcss/cli in --watch mode from crashing on Windows when @source points to a directory that doesn't exist (#20242)
- Prevent @tailwindcss/vite from crashing in Deno v2.8.x when context.parentURL is not a valid URL (#20245)
- Ensure @tailwindcss/cli in --watch mode rebuilds when the input CSS file changes in an ignored directory (#20246)
- Allow @variant rules used in addBase(…) to use custom variants defined later (#20247)
- Prevent @tailwindcss/vite from crashing during HMR when scanned files or directories are deleted (#20259)
- Generate font-size instead of color declarations for text-[--spacing(…)] (#20260)
- Prevent @source patterns from scanning unrelated sibling files and folders (#20263)
- Extract class candidates adjacent to Template Toolkit delimiters like %]…[% in .tt, .tt2, and .tx files (#20269)
- Extract class candidates from conditional Maud syntax like p.text-black[condition] (#20269)
- Prevent @position-try rules from triggering unknown at-rule warnings when optimizing CSS (#20277)
- Support class suggestions for named opacity modifiers from --opacity theme values (#20287)
- Prevent type errors in @tailwindcss/postcss when used with newer PostCSS patch releases (#20289)
- Jun 12, 2026
- Date parsed from source:Jun 12, 2026
- First seen by Releasebot:Jun 16, 2026
v4.3.1
Tailwind adds a broad update for the CLI and framework integrations, with silent mode, better watch and source scanning, improved @apply and @variant support, and many fixes for canonicalization, containers, shadows, sourcemaps, and package compatibility.
Added
- Add --silent option to suppress output in @tailwindcss/cli (#20100)
Fixed
- Remove deprecation warnings by using Module#registerHooks instead of Module#register on Node 26+ (#20028)
- Canonicalization: don't crash when plugin utilities throw for unsupported values (#20052)
- Allow @apply to be used with CSS mixins (#19427)
- Ensure not-* correctly negates @container queries, including style(…) queries (#20059)
- Ensure drop-shadow-* color utilities work with custom shadow values containing calc(…) (#20080)
- Fix 'Sourcemap is likely to be incorrect' warnings when using @tailwindcss/vite (#20103)
- Ensure @tailwindcss/webpack can be installed in Rspack projects without requiring webpack as a peer dependency (#20027)
- Canonicalization: don't suggest invalid calc(…) expressions (e.g. px-[calc(1rem+0px)] → px-[calc(1rem+0)]) (#20127)
- Canonicalization: avoid suggesting large spacing-scale values for arbitrary lengths (e.g. left-[99999px] → left-[99999px], not left-24999.75) (#20130)
- Ensure @tailwindcss/cli in --watch mode recovers when a tracked dependency is deleted and restored (#20137)
- Ensure standalone @tailwindcss/cli binaries are ignored when scanning for class candidates (#20139)
- Ensure class candidates are extracted from Twig addClass(…) and removeClass(…) calls (#20198)
- Don't crash in the Ruby or Vue preprocessors when scanning files containing invalid UTF-8 bytes (#19588)
- Allow @variant to be used inside addBase (#19480)
- Ensure @source globs with symlinks are preserved (#20203)
- Ensure later @source rules can re-include files excluded by earlier @source not rules (#20203)
- Upgrade: don't migrate empty class rules to invalid @utility rules (#20205)
- Ensure transitions between inset-shadow-none and other inset shadows work correctly (#20208)
- Ensure explicitly referenced @source directories are scanned even when ignored by git (#20214)
- Ensure @source globs ending in **/* preserve dynamic path segments to avoid scanning too many files (#20217)
- Canonicalization: don't fold calc(…) divisions when the result would require high precision (e.g. w-[calc(100%/3.5)] → w-[calc(100%/3.5)], not w-[28.571428571428573%]) (#20221)
- Serve ESM type declarations to ESM importers of @tailwindcss/postcss (#20228)
Changed
- Generate 0 instead of calc(var(--spacing) * 0) for spacing utilities like m-0 and left-0 (#20196)
- Generate var(--spacing) instead of calc(var(--spacing) * 1) for spacing utilities like m-1 and left-1 (#20196)
Similar to Tailwind with recent updates:
- xAI release notes340 release notes · Latest Dec 3, 2026
- Cursor release notes194 release notes · Latest Nov 24, 2026
- Obsidian release notes127 release notes · Latest Dec 2, 2026
- Perplexity release notes34 release notes · Latest Nov 24, 2026
- Anthropic release notes996 release notes · Latest Dec 4, 2026
- n8n release notes78 release notes · Latest Nov 24, 2026
- May 8, 2026
- Date parsed from source:May 8, 2026
- First seen by Releasebot:Nov 28, 2026
- Modified by Releasebot:Nov 28, 2026
Tailwind CSS v4.3: Scrollbars, new colors, and more
Tailwind ships CSS v4.2 and v4.3 with new color palettes, faster webpack integration, expanded logical and typography utilities, and features for styling scrollbars, containers, zoom, and tabs. The releases also improve CSS variant support and custom utility definitions.
Tailwind CSS v4.3 is here, and because apparently shipping v4.2 was easier than remembering to blog about it, this post is secretly about two releases worth of new stuff.
Here's what landed in v4.2:
- New
mauve,olive,mist, andtaupepalettes — four more neutral-ish palettes for when gray, zinc, neutral, stone, and slate have somehow failed you. - First-class webpack plugin — for a huge performance boost in frameworks like Next.js.
- More logical property utilities — including
pbs-*,mbs-*,inline-*,block-*, and new logical inset utilities. - New
font-features-*utility — control low-level OpenType features without writing custom CSS every time.
…and here's what's new in v4.3:
- New scrollbar utilities — style scrollbars without wondering which half-supported browser API you're supposed to use this week.
- New
@container-sizeutility — create size containers for when your container queries need to care about height too. - New
zoom-*utilities — use the CSSzoomproperty directly in your markup, now that every browser has finally agreed it exists. - New
tab-*utilities — control the rendered width of tab characters, just please don't make it eight like GitHub used to. - Stacked + compound
@variantsupport — use stacked and compound variants directly in CSS. - Default values for functional utilities — define utilities that work with or without a value.
A lot of the v4.2 improvements, including the new logical property utilities and
font-features-*support, came out of collaborations with teams at Netflix and Vercel through our Partners Program. If there are framework improvements like this that would make Tailwind CSS work better for your team, we'd love to help.Upgrade your projects by installing the latest version of
tailwindcssfrom npm:Using the Tailwind CLI
npm install tailwindcss@latest @tailwindcss/cli@latestUsing Vite
npm install tailwindcss@latest @tailwindcss/vite@latestUsing PostCSS
npm install tailwindcss@latest @tailwindcss/postcss@latestUsing webpack
npm install tailwindcss@latest @tailwindcss/webpack@latestNew
mauve,olive,mist, andtaupepalettesIn v4.2 we added four new color palettes to the default theme:
mauve,olive,mist, andtaupe.These originally came out of Oatmeal, the multi-theme marketing site kit we released for Tailwind Plus back in December, where we needed a few more neutral-ish palettes that still felt distinct from the grays we already ship.
They're all in that useful neutral-adjacent category where you want something that still behaves like gray, but has a little more personality:
50 100 200 300 400 500 600 700 800 900 950
mauve
olive
mist
taupe
They're a nice substitute for the existing gray palettes when you want the whole design to lean a little warmer, cooler, greener, or… mauver?
<div class="bg-mauve-950 text-mauve-100 ...">Mauve</div> <div class="bg-olive-100 text-olive-950 ...">Olive</div> <div class="border border-mist-200 shadow-taupe-950/10 ...">Mist and taupe</div>Check out the colors documentation for a pretty grid of all the available colors.
First-class webpack plugin
Tailwind CSS v4.2 added a dedicated
@tailwindcss/webpackloader for integrating Tailwind CSS in webpack projects.Before this, webpack projects usually ran Tailwind through
postcss-loaderand@tailwindcss/postcss, which works, but means CSS has to take a little detour through PostCSS just so Tailwind can get its hands on a string it already knows how to compile.The dedicated loader skips that extra work, and we've seen it make Tailwind over 2x faster in large, complicated webpack projects. For example, here's what we saw testing against the tailwindcss.com docs with Next.js and Turbopack:
Package Build time @tailwindcss/postcss 932ms @tailwindcss/webpack 429ms 2.17x fasterUsing it is the same sort of setup you're used to from other webpack loaders:
webpack.config.jsconst MiniCssExtractPlugin = require("mini-css-extract-plugin"); module.exports = { plugins: [new MiniCssExtractPlugin()], module: { rules: [ { test: /\.css$/i, use: [MiniCssExtractPlugin.loader, "css-loader", "@tailwindcss/webpack"], }, ], }, };Because Turbopack supports webpack loaders through its compatibility layer, these improvements carry over there too, which is a big deal for frameworks like Next.js where Turbopack is becoming the default.
Check out the
@tailwindcss/webpackREADME for more details.More logical property utilities
Tailwind CSS v4.2 added a whole bunch of new logical property utilities, making it easier to build layouts that adapt correctly across different writing modes and directions.
For spacing, there are new block-start and block-end utilities for padding, margin, scroll padding, scroll margin, and borders:
<div class="mbs-6 mbe-2 pbs-4 pbe-8 ..."> <!-- ... --> </div> <div class="scroll-mbs-4 scroll-mbe-4 scroll-pbs-12 scroll-pbe-12 ..."> <!-- ... --> </div> <div class="border-bs border-be-2 ..."> <!-- ... --> </div>We've also added logical sizing utilities for
inline-sizeandblock-size, along with min and max variants:<div class="block-64 inline-full max-block-screen max-inline-lg min-block-24 min-inline-0 ..."> <!-- ... --> </div>And we've added logical inset utilities for positioning elements:
<div class="absolute inset-s-0 inset-e-4 inset-bs-2 inset-be-8 ..."> <!-- ... --> </div>The existing
start-*andend-*utilities are still available, but they're now deprecated in favor ofinset-s-*andinset-e-*so the whole API lines up withinset-bs-*andinset-be-*.Check out the
padding,margin,scroll-padding,scroll-margin,border-width,inline-size,block-size, andtop / right / bottom / leftdocs for more details.New
font-features-*utilityWe've also added
font-features-*utilities for controllingfont-feature-settings:normal
100.00
218.40
864.12
font-features-["tnum"]
100.00
218.40
864.12
<div class='font-features-["tnum"] ...'> <!-- ... --> </div>For common cases like tabular numbers, you should still reach for higher-level utilities like
tabular-numsfirst, because nobody should have to remember that"tnum"is a thing.But when you need to enable a font-specific stylistic set or some other OpenType feature we don't have a dedicated utility for,
font-features-*gives you a clean escape hatch.Check out the
font-feature-settingsdocs for more details.New scrollbar utilities
Tailwind CSS v4.3 adds first-party utilities for the CSS scrollbar APIs, so you can finally do the boring-but-useful scrollbar stuff without opening a second tab and remembering which browser supports what.
Use
scrollbar-auto,scrollbar-thin, andscrollbar-noneto controlscrollbar-width:Scroll vertically
The Cerulean Archives occupy three narrow floors above the old observatory, each lined with drawers of star maps, expedition notes, and brass instruments cataloged by hand.
On winter mornings, the staff rolls ladders between the shelves while pale light cuts through the roof windows and settles on the reading tables.
Visitors can request anything from the collection, but most come for the atlases that chart coastlines no longer found on modern maps.
Every returned volume is inspected, dusted, and wrapped before being carried back into the stacks for the next researcher.
<div class="scrollbar-thin scrollbar-thumb-sky-700 scrollbar-track-sky-100 overflow-auto ..."> <!-- ... --> </div>You can also control scrollbar colors using
scrollbar-thumb-*andscrollbar-track-*utilities:<div class="scrollbar-thumb-sky-700 scrollbar-track-sky-100 overflow-auto ..."> <!-- ... --> </div>They work with the usual color opacity modifiers too:
<div class="scrollbar-thumb-slate-900/60 scrollbar-track-slate-900/10 ..."> <!-- ... --> </div>And for preventing layout shift when scrollbars appear, we've added
scrollbar-gutter-auto,scrollbar-gutter-stable, andscrollbar-gutter-both:scrollbar-gutter-auto
Hey everyone! It's almost 2027 and we still don't know if there are aliens living among us, or do we? Maybe the person writing this is an alien. You will never know.
scrollbar-gutter-stable
Hey everyone! It's almost 2027 and we still don't know if there are aliens living among us, or do we? Maybe the person writing this is an alien. You will never know.
<div class="scrollbar-gutter-stable overflow-auto ..."> <!-- ... --> </div>Check out the
scrollbar-width,scrollbar-color, andscrollbar-gutterdocs for more details.New
@container-sizeutilityIn Tailwind CSS v4.0 we added first-party container query support with the
@containerutility, which creates an inline-size container.That's what you want most of the time, but container query length units like
cqbandcqhdepend on the block size of the container, and inline-size containers don't expose that information.So in v4.3 we've added
@container-size, which creates a size container instead:<div class="@container-size"> <div class="h-[50cqb]"> <!-- ... --> </div> </div>You can name size containers too using
@container-size/{name}, just like@container/{name}.Check out the responsive design docs for more details.
New
zoom-*utilitiesTailwind CSS v4.3 adds
zoom-*utilities for the CSSzoomproperty, one of those ancient browser features that was supported in Chrome 1 back in 2008, but only became fully supported across all major browsers in 2024 after taking the scenic route through a few long-standing SVG bugs:<div class="zoom-75 ...">Zoomed out</div> <div class="zoom-100 ...">Normal</div> <div class="zoom-125 ...">Zoomed in</div>You can also use arbitrary values and CSS variables:
<div class="zoom-[1.1] ...">Zoomed in a little</div> <div class="zoom-(--preview-zoom) ...">Zoomed using a variable</div>Check out the
zoomdocs for more details.New
tab-*utilitiesWe've also added
tab-*utilities for controlling the rendered width of tab characters usingtab-size.This is mostly useful for code examples, editors, and any other UI where you're rendering preformatted text that might contain real tab characters:
tab-2
function indent() { return 'tabbed'; }tab-8
function indent() { return 'tabbed'; }<pre class="tab-2 ...">function indent() { 	return 'tabbed' }</pre> <pre class="tab-8 ...">function indent() { 	return 'tabbed' }</pre>Arbitrary values and CSS variables work here too:
<pre class="tab-[12px] ...">...</pre> <pre class="tab-(--tab-size) ...">...</pre>Check out the
tab-sizedocs for more details.Stacked + compound
@variantsupportTailwind CSS v4.3 makes
@variantmore flexible when you're using variants in CSS instead of directly in your markup.You can now use stacked variants:
CSS.button { background: var(--color-sky-500); @variant hover:focus { background: var(--color-sky-600); } }Compiled CSS.button { background: var(--color-sky-500); &: hover { @media (hover: hover) { &: focus { background: var(--color-sky-600); } } } }And you can use compound variants to share the same block of CSS across multiple variants:
CSS.button { background: var(--color-sky-500); @variant hover, focus { background: var(--color-sky-600); } }Compiled CSS.button { background: var(--color-sky-500); &: hover { @media (hover: hover) { background: var(--color-sky-600); } } &:focus { background: var(--color-sky-600); } }You're usually better off creating a real component and styling it with Tailwind CSS classes directly, but when CSS is the right tool, this makes
@varianta lot nicer to work with.Check out the
@variantdocs for more details.Default values for functional utilities
Tailwind CSS v4.0 introduced functional
@utilitydefinitions, where you can use--value(…)and--modifier(…)to define utilities that accept theme values, bare values, arbitrary values, and modifiers.In v4.3, you can now pass
--default(…)to--value(…)and--modifier(…)when a utility should work with or without a value:CSS@utility tab-* { tab-size: --value(integer, --default(4)); }Now the bare
tabutility can fall back to4, whiletab-2still resolves to2:HTML<pre class="tab ...">...</pre> <pre class="tab-2 ...">...</pre>Generated CSS.tab { tab-size: 4; } .tab-2 { tab-size: 2; }That makes it easier to define APIs where the bare utility does the obvious thing, while still supporting explicit values for the same utility family.
It's a small thing, but it lets plugin authors and anyone writing custom utilities create APIs that feel a lot more like the ones we ship in the framework itself.
So that's Tailwind CSS v4.2 and v4.3!
Update to the latest version using npm and start playing with it today:
Using the Tailwind CLI
npm install tailwindcss@latest @tailwindcss/cli@latestUsing Vite
npm install tailwindcss@latest @tailwindcss/vite@latestUsing PostCSS
npm install tailwindcss@latest @tailwindcss/postcss@latestUsing webpack
npm install tailwindcss@latest @tailwindcss/webpack@latestTry the new stuff and let us know what you run into. Just remember a tab size over 4 is a crime and may result in the suspension of your software engineering license.
Original source - May 8, 2026
- Date parsed from source:May 8, 2026
- First seen by Releasebot:May 9, 2026
v4.3.0
Tailwind adds new utilities for containers, scrollbars, zoom, and tabs, while improving variant handling, canonicalization, and plugin and import resolution. It also fixes several Vite and PostCSS issues and sharpens upgrade and type support.
Added
- Add @container-size utility (#18901)
- Add scrollbar-{auto,thin,none} utilities for scrollbar-width, and scrollbar-thumb-* / scrollbar-track-* color utilities for scrollbar-color (#19981, #20019)
- Add scrollbar-gutter-* utilities (#20018)
- Add zoom-* utilities (#20020)
- Add tab-* utilities (#20022)
- Allow using @variant with stacked variants (e.g. @variant hover:focus { … }) (#19996)
- Allow using @variant with compound variants (e.g. @variant hover, focus { … }) (#19996)
- Support --default(…) in --value(…) and --modifier(…) for functional @utility definitions (#19989)
Fixed
- Ensure @plugin resolves package JavaScript entries instead of browser CSS entries when using @tailwindcss/vite (#19949)
- Fix relative @import and @plugin paths resolving from the wrong directory when using @tailwindcss/vite (#19965)
- Ensure CSS files containing @variant are processed by @tailwindcss/vite (#19966)
- Resolve imports relative to base when result.opts.from is not provided when using @tailwindcss/postcss (#19980)
- Canonicalization: preserve significant _ whitespace in arbitrary values (#19986)
- Canonicalization: add parentheses when removing whitespace from arbitrary values would hurt readability (e.g. w-[calc(100%---spacing(60))] → w-[calc(100%-(--spacing(60)))]) (#19986)
- Canonicalization: preserve the original unit in arbitrary values instead of normalizing to base units (e.g. -mt-[20in] → mt-[-20in], not mt-[-1920px]) (#19988)
- Canonicalization: migrate arbitrary :has() variants from [&:has(…)] to has-[…] (#19991)
- Upgrade: don’t migrate inline style attributes (e.g. style="flex-grow: 1" → style="flex-grow: 1", not style="grow: 1") (#19918)
- Allow multiple @utility definitions with the same name but different value types (#19777)
- Export missing PluginWithConfig type from tailwindcss/plugin to fix errors when inferring plugin config types (#19707)
- Ensure start and end legacy utilities without values do not generate CSS (#20003)
- Ensure --value(…) is required in functional @utility definitions (#20005)
- Canonicalization: preserve required whitespace around operators in negated arbitrary values (e.g. -left-[(var(--a)+var(--b))]) (#20011)
- Apr 21, 2026
- Date parsed from source:Apr 21, 2026
- First seen by Releasebot:Apr 22, 2026
v4.2.4
Tailwind fixes @import and @plugin imports to resolve correctly with Vite aliases in @tailwindcss/vite.
Fixed
Ensure imports in @import and @plugin still resolve correctly when using Vite aliases in @tailwindcss/vite (#19947)
Original source - Apr 20, 2026
- Date parsed from source:Apr 20, 2026
- First seen by Releasebot:Apr 21, 2026
v4.2.3
Tailwind releases canonicalization, migration, and CLI improvements, including smarter utility collapsing, better tracking and placeholder handling, safer upgrade behavior, faster JSONL scanning, and NODE_PATH support in the standalone CLI.
Fixed
Canonicalization: improve canonicalizations for tracking-* utilities by preferring non-negative utilities (e.g. -tracking-tighter → tracking-wider) (#19827)
Fix crash due to invalid characters in candidate (exceeding valid unicode code point range) (#19829)
Ensure query params in imports are considered unique resources when using @tailwindcss/webpack (#19723)
Canonicalization: collapse arbitrary values into shorthand utilities (e.g. px-[1.2rem] py-[1.2rem] → p-[1.2rem]) (#19837)
Canonicalization: collapse border-{t,b}-* into border-y-, border-{l,r}- into border-x-, and border-{t,r,b,l}- into border-* (#19842)
Canonicalization: collapse scroll-m{t,b}-* into scroll-my-, scroll-m{l,r}- into scroll-mx-, and scroll-m{t,r,b,l}- into scroll-m-* (#19842)
Canonicalization: collapse scroll-p{t,b}-* into scroll-py-, scroll-p{l,r}- into scroll-px-, and scroll-p{t,r,b,l}- into scroll-p-* (#19842)
Canonicalization: collapse overflow-{x,y}-* into overflow-* (#19842)
Canonicalization: collapse overscroll-{x,y}-* into overscroll-* (#19842)
Read from --placeholder-color instead of --background-color for placeholder-* utilities (#19843)
Upgrade: ensure files are not emptied out when killing the upgrade process while it's running (#19846)
Upgrade: use config.content when migrating from Tailwind CSS v3 to Tailwind CSS v4 (#19846)
Upgrade: never migrate files that are ignored by git (#19846)
Add .env and .env.* to default ignored content files (#19846)
Canonicalization: migrate overflow-ellipsis into text-ellipsis (#19849)
Canonicalization: migrate start-full → inset-s-full, start-auto → inset-s-auto, start-px → inset-s-px, and start-<number> → inset-s-<number> as well as negative versions (#19849)
Canonicalization: migrate end-full → inset-e-full, end-auto → inset-e-auto, end-px → inset-e-px, and end-<number> → inset-e-<number> as well as negative versions (#19849)
Canonicalization: move the - sign inside the arbitrary value -left-[9rem] → left-[-9rem] (#19858)
Canonicalization: move the - sign outside the arbitrary value ml-[calc(-1*var(--width))] → -ml-(--width) (#19858)
Improve performance when scanning JSONL / NDJSON files (#19862)
Support NODE_PATH environment variable in standalone CLI (#19617)
Original source - Mar 18, 2026
- Date parsed from source:Mar 18, 2026
- First seen by Releasebot:Mar 19, 2026
v4.2.2
Tailwind releases fixes and improvements for Vite and canonicalization. It adds Vite 8 support in @tailwindcss/vite, prevents crashes from prototype properties, canonicalizes calc(var(--spacing)*…) to --spacing(…), fixes crashes with @property rules, skips full reload for server-only modules, and improves empty or oversized value handling.
Added
Support Vite 8 in @tailwindcss/vite (#19790)
Fixed
- Don't crash when candidates contain prototype properties like row-constructor (#19725)
- Canonicalize calc(var(--spacing)*…) expressions into --spacing(…) (#19769)
- Fix crash in canonicalization step when handling utilities containing @property at-rules (e.g. shadow-sm border) (#19727)
- Skip full reload for server only modules scanned by client CSS when using @tailwindcss/vite (#19745)
- Improve canonicalization for bare values exceeding default spacing scale suggestions (e.g. w-1234 h-1234 → size-1234) (#19809)
- Fix canonicalization resulting in empty list (e.g. w-5 h-5 size-5 → '' instead of size-5) (#19812)
- Feb 23, 2026
- Date parsed from source:Feb 23, 2026
- First seen by Releasebot:Feb 23, 2026
v4.2.1
Fixed
- Allow trailing dash in functional utility names for backwards compatibility (#19696)
- Properly detect classes containing . characters within curly braces in MDX files (#19711)
- Feb 18, 2026
- Date parsed from source:Feb 18, 2026
- First seen by Releasebot:Feb 19, 2026
v4.2.0
Tailwind CSS adds fresh color palettes, a webpack plugin, and a wide range of new utilities for inline and block sizing, padding, margins, borders, scrolling, and typography. The release includes multiple fixes and a deprecation note guiding future changes.
Added
- Add mauve, olive, mist, and taupe color palettes to the default theme (#19627)
- Add @tailwindcss/webpack package to run Tailwind CSS as a webpack plugin (#19610)
- Add pbs-* and pbe-* utilities for padding-block-start and padding-block-end (#19601)
- Add mbs-* and mbe-* utilities for margin-block-start and margin-block-end (#19601)
- Add scroll-pbs-* and scroll-pbe-* utilities for scroll-padding-block-start and scroll-padding-block-end (#19601)
- Add scroll-mbs-* and scroll-mbe-* utilities for scroll-margin-block-start and scroll-margin-block-end (#19601)
- Add border-bs-* and border-be-* utilities for border-block-start and border-block-end (#19601)
- Add inline-, min-inline-, max-inline-* utilities for inline-size, min-inline-size, and max-inline-size (#19612)
- Add block-, min-block-, max-block-* utilities for block-size, min-block-size, and max-block-size (#19612)
- Add inset-s-, inset-e-, inset-bs-, inset-be- utilities for inset-inline-start, inset-inline-end, inset-block-start, and inset-block-end (#19613)
- Add font-features-* utility for font-feature-settings (#19623)
Fixed
- Prevent double @supports wrapper for color-mix values (#19450)
- Allow whitespace around @source inline() argument (#19461)
- Emit comment when source maps are saved to files when using @tailwindcss/cli (#19447)
- Detect utilities containing capital letters followed by numbers (#19465)
- Fix class extraction for Rails' strict locals (#19525)
- Align @utility name validation with Oxide scanner rules (#19524)
- Fix infinite loop when using @variant inside @custom-variant (#19633)
- Allow multiples of .25 in aspect-* fractions (e.g. aspect-8.5/11) (#19688)
- Ensure changes to external files listed via @source trigger a full page reload when using @tailwindcss/vite (#19670)
- Improve performance of Oxide scanner in bigger projects by reducing file system walks (#19632)
- Ensure import aliases in Astro v5 work without crashing when using @tailwindcss/vite (#19677)
- Allow escape characters in @utility names to improve support with formatters such as Biome (#19626)
- Fix incorrect canonicalization results when canonicalizing multiple times (#19675)
- Add .jj to default ignored content directories (#19687)
Deprecated
- Deprecate start-* and end-* utilities in favor of inline-s-* and inline-e-* utilities (#19613)
- Dec 11, 2025
- Date parsed from source:Dec 11, 2025
- First seen by Releasebot:Dec 23, 2025
v4.1.18
A robust set of fixes and compatibility upgrades improve validation, error reporting, and config handling across CSS parsing, Ruby checks, Vite integration, and CLI behavior. It expands theme and config support and strengthens canonicalization of utility classes.
Fixed
- Ensure validation of source(…) happens relative to the file it is in (#19274)
- Include filename and line numbers in CSS parse errors (#19282)
- Skip comments in Ruby files when checking for class names (#19243)
- Skip over arbitrary property utilities with a top-level ! in the value (#19243)
- Support environment API in @tailwindcss/vite (#18970)
- Preserve case of theme keys from JS configs and plugins (#19337)
- Write source maps correctly on the CLI when using --watch (#19373)
- Handle special defaults (like ringColor.DEFAULT) in JS configs (#19348)
- Improve backwards compatibility for content theme key from JS configs (#19381)
- Upgrade: Handle future and experimental config keys (#19344)
- Try to canonicalize any arbitrary utility to a bare value (#19379)
- Validate candidates similarly to Oxide (#19397)
- Canonicalization: combine text-* and leading-* classes (#19396)
- Correctly handle duplicate CLI arguments (#19416)
- Don’t emit color-mix fallback rules inside @keyframes (#19419)
- CLI: Don't hang when output is /dev/stdout (#19421)
- Dec 10, 2025
- Date parsed from source:Dec 10, 2025
- First seen by Releasebot:Dec 23, 2025
v3.4.19
- Nov 6, 2025
- Date parsed from source:Nov 6, 2025
- First seen by Releasebot:Dec 23, 2025
v4.1.17
Fixed
- Substitute @variant inside legacy JS APIs (#19263)
- Prevent occasional crash on Windows when loaded into a worker thread (#19242)
Curated by the Releasebot team
Releasebot is an aggregator of official release notes from hundreds of software vendors and thousands of sources.
Our editorial process involves the manual review and audit of release notes procured with the help of automated systems.