BrowserUX Critical CSS

Eliminate render-blocking CSS and dramatically improve your LCP score.

BrowserUX Critical CSS is a Vite plugin that automatically extracts the CSS needed to render above-the-fold content, inlines it directly in the head as a style tag, and defers the full stylesheet asynchronously using the link rel="preload" pattern. The extraction uses a headless browser with configurable viewport dimensions, making it accurate across both mobile and desktop breakpoints. The result is a page that renders instantly without waiting for any CSS to download.

npm install vite-plugin-critical-css
Download

Plugin for Vite
See the CHANGELOG

Key Features of BrowserUX Critical CSS