A lightweight CSS utility engine inspired by Tailwind. Drop the script,
write
chai-
classes, done.
<div class="chai-flex chai-items-center chai-gap-16"> <h1 class="chai-size-48 chai-fontBold">Hello, Chai!</h1> <button class="chai-px-20 chai-py-10 chai-rounded-8 chai-bg-#ff9f43 chai-shadow-md"> Click me </button> </div>
Everything you need, nothing you don't.
Drop one script tag. No bundler, no config, no CLI. Works in any HTML file instantly.
Compose layouts using small, readable classes — no context switching to CSS files.
Scans the DOM and applies inline styles dynamically at runtime. Smart and extensible.
Spacing, flex, grid, typography, shadows, transitions, opacity, transforms — all covered.
Hover any class to see what it does.
Class Categories
Preview
hover to select
Every class, what it does, and the CSS it generates.
Added to the engine — ready to use right now.
Three ways to get started. Pick your flavour.
<script
src="https://cdn.jsdelivr.net/npm/chaicss-ap/dist/index.js"></script>
npm install chaicss-ap
import { useChaiCss } from 'chaicss-ap';
useChaiCss();