Tailwind CSS for Visual StudioBring IntelliSense, linting, class sorting, build tools, and more to Tailwind CSS in Visual Studio 2026 and 2022.
ChangelogFor information on recent updates, see the changelog. DisclaimerThis is not an official Tailwind CSS extension and has no affiliation with Tailwind Labs Inc. PrerequisitesThis extension uses To check whether If you do not have SetupThe extension activates when:
If the config file is not detected, right-click it in Solution Explorer and select Set as configuration file. FeaturesIntelliSenseGet Tailwind class suggestions in Razor, HTML, and CSS files:
LintingAutomatically flags:
Note: Visual Studio might still flag some Tailwind features like
Class SortingSort Tailwind classes:
Build IntegrationThe extension can build your Tailwind CSS output when you build your project, 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 OptionsFind global extension settings in:
More details: Getting Started – Extension Configuration TroubleshootingBuild IssuesIf your CSS is not updating:
Extension IssuesIf the extension crashes or behaves unexpectedly:
SupportTo report issues or share feature suggestions, feel free to create an issue on GitHub. If this extension has helped you, please consider leaving a small donation to support development! |









