Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>Tailwind CSS Version MigratorNew to Visual Studio Code? Get it now.
Tailwind CSS Version Migrator

Tailwind CSS Version Migrator

Bridget

|
16 installs
| (0) | Free
Converts Tailwind CSS v3 syntax to v4 in Next.js projects
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Tailwind CSS Migrator

Extension Logo Automatically convert Tailwind CSS v3 projects to v4 syntax

Features

  • Convert @tailwind directives to @import statements
  • Accurate HSL → OKLCH color conversion
  • Preserves all custom utilities and components

Quick Start

  1. Open any CSS file with Tailwind v3 syntax
  2. Run command: Tailwind: Convert to v4
  3. Review changes and save

Configuration

{
  "tailwindMigrator.autoConvert": false,
  "tailwindMigrator.showDiff": true
}
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft