Tailwind CSS for Visual Studio
Bring IntelliSense, linting, class sorting, build tools, and more to Tailwind CSS in Visual Studio 2026 and 2022.
Download from the Visual Studio Marketplace · Getting Started Guide · Changelog ❤️ Support This ProjectThis extension is built and maintained solo, in my free time, for the whole VS community. If it's saved you time or made your workflow better, please consider sponsoring development on GitHub — even a small donation helps keep it going and directly funds new features and bug fixes. Table of ContentsPrerequisitesThis extension uses To check whether If you don't have SetupThe extension activates automatically when:
If the config file isn't detected automatically, right-click it in Solution Explorer and select Set as configuration file. FeaturesIntelliSenseGet Tailwind class suggestions in Razor, HTML, and CSS files:
LintingAutomatically flags:
Class SortingSort Tailwind classes:
Build IntegrationThe extension can build your Tailwind CSS output automatically on project build, or manually from the Build menu.
To configure build and configuration files, right-click
Project-specific settings are saved in a NPM IntegrationStart quickly by right-clicking your project and selecting a startup task:
Using the Tailwind CLI?
Want to use a custom build script?
Extension OptionsGlobal extension settings live under:
See Getting Started – Extension Configuration for details. TroubleshootingBuild IssuesIf your CSS isn't updating, check the Build output window for Tailwind errors.
Extension IssuesIf the extension crashes or behaves unexpectedly, check the Extensions output window for detailed logs. Support & FeedbackFound a bug or have a feature request? Open an issue on GitHub. Enjoying the extension? A rating on the Marketplace listing or a donation goes a long way toward keeping it maintained. 🙏 DisclaimerThis is not an official Tailwind CSS extension and has no affiliation with Tailwind Labs Inc. |





