Runtime-First
Parse and generate CSS at runtime without build processes. Perfect for dynamic content and real-time styling.
Generate utility CSS in the browser or on the server
BaroCSS is a CSS parsing and generation engine for utility classes. Its browser runtime can generate styles when classes appear in the DOM. It is inspired by Tailwind CSS and UnoCSS. It does not yet claim full Tailwind compatibility. See the measured compatibility scope before using it with existing Tailwind markup.
BaroCSS consists of three main packages:
@barocss/kit - Core parsing and generation engine@barocss/browser - Browser runtime with DOM change detection@barocss/server - Server runtime for static CSS generationThe Quick Start shows the browser runtime with its public API. The API reference covers the core and server packages.