Windi CSS was an on-demand, utility-first CSS framework designed as a performant alternative to Tailwind CSS, aiming to address compilation speed issues in larger projects by providing quicker hot module replacement (HMR) and eliminating the need for production purging. It dynamically scanned HTML and CSS to generate utilities. The project officially announced its deprecation in March 2022, recommending users migrate to Tailwind CSS v3 or newer. While its last stable version, 3.5.6, included some Tailwind v3 utility classes and bug fixes, no further active development, new features, or security updates are expected. Key differentiators during its active period included its 'on-demand' compilation approach and extensive framework integrations.
npm install windicssVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to programmatically use Windi CSS to process HTML content, extract utility classes, and generate the corresponding CSS, including preflight styles, within a Node.js environment.
Migrate your project to use Tailwind CSS (v3+) and its official PostCSS setup. For existing projects, consider a migration path outlined in the Windi CSS documentation or community guides.
Review the Windi CSS documentation for specific feature support. For full and up-to-date Tailwind CSS features, migrating to Tailwind CSS is recommended.
Thoroughly test your styles after updating to v3.5.x, especially if you use default or renamed color utilities. Consult the release notes for specific color changes.
Utilize the official or community-maintained framework plugins for optimal integration and development experience. If direct API usage is necessary, consult the 'API' section of the Windi CSS documentation thoroughly.
Update Windi CSS to version 3.4.3 or higher, where this bug was addressed.
Upgrade Windi CSS to version 3.4.4 or newer to resolve the Preflight CLI issue.
Update Windi CSS to version 3.4.3 or higher to fix the ClassParser issue with JSX content.
No dependency data recorded yet.