Skip to content

BaroCSSCSS Runtime Engine

Generate utility CSS in the browser or on the server

What is BaroCSS?

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.

Core Architecture

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 generation

Start using BaroCSS

The Quick Start shows the browser runtime with its public API. The API reference covers the core and server packages.

Released under the MIT License.