Utility-first CSS,
brewed&sipped
in the browser.
Drop in <script src="chai.js">, write chai-px-4 chai-bg-chai-600, and the engine walks the DOM, parses every utility, and applies inline styles. No build step. No config. No CSS file.
02 Try it. No install, no copy-paste.
Edit the HTML on the left. The right pane is real DOM — chaiTailwind is the only stylesheet on this page.
03 What's in the pot.
chai-p-2, chai-px-4, chai-mt-8,
chai-m-[1.5rem], plus directional variants for every side.
chai, saffron, cardamom,
masala) — and arbitrary [#ffeedd].
chai-text-2xl, chai-font-bold,
chai-text-center, chai-italic,
chai-uppercase, chai-leading-relaxed.
chai-border, chai-border-2,
chai-border-dashed, chai-rounded-lg,
chai-rounded-full.
chai-flex-col, chai-justify-between,
chai-items-center, chai-grid-cols-3,
chai-col-span-2.
chai-shadow-lg, chai-opacity-80,
chai-cursor-pointer, chai-select-none,
plus arbitrary values everywhere.
chaiTailwind is intentionally minimal — utilities are resolved at runtime and applied as inline styles, so there's no build pipeline to wire up. It's a sensible fit for prototypes, internal tools, landing pages, and embedded widgets where setup speed matters more than the last byte of CSS. Before reaching for it in a large production app, read the tradeoffs — or skim the downloadable templates to see what it can build.
Made by Saad · @developedbysaad on X