A modern CSS component library โ 40 KB, zero dependencies, zero build step. Switch the entire UI theme with a single HTML attribute.
No CSS overrides. No JavaScript required. Every component adapts automatically
through CSS custom properties inherited from data-theme.
Built on CSS custom properties from the ground up. No preprocessors, no PostCSS, no config files.
--color-primary once and it ripples through every component. Theme
your brand in 30 seconds..button.is-primary work without changes. Migrate progressively,
zero rewrites..row + .col-*) and modern CSS Grid helpers (.grid-col-3). Pick what fits.flex gap-4 mt-6 px-4 rounded-lg work out of the box. Zero PostCSS,
zero build step, 40 KB instead of 3 MB.njX utilities use the exact same class names as Tailwind โ no new syntax to learn. The difference: no build step, no PostCSS config, no 3 MB pipeline. Just 40 KB, drop it in and ship.
No CLI. No config. No node_modules.
Just paste and build.
<head>. That's
all the setup you'll ever do.data-theme="dark" to <html>. Switch anytime, no rebuild..btn.btn-primary, .card-glow, .inp. Done.Built in 30 seconds.
Everything a UI needs. Forms, navigation, feedback, layout โ all styled, all themed.
40KB gets you themes, animations, hover effects and gradients โ features that don't exist anywhere else at this weight.
| Feature | chota | Pico CSS | Bulma | njX โฆ |
|---|---|---|---|---|
| Bundle size | 3 KB | 9 KB | 78 KB | ~40 KB |
| Built-in themes | โ | 2 | โ | 9 |
| CSS Custom Properties | partial | โ | โ | โ full |
| Hover effects | โ | โ | โ | 30+ |
| Gradients | โ | โ | โ | 15+ |
| Animations | โ | โ | โ | โ |
| Text gradients | โ | โ | โ | 8 styles |
| Bulma compatible | โ | โ | โ | โ |
| Build step required | No | No | No | No |
| Tailwind-compatible utils | โ | โ | โ | โ same API |
| JS required | No | No | No | No |
"CSS has everything you need to build a great UI.
You just shouldn't have to write it every time."
njX is built on the belief that a CSS library should be invisible โ no framework lock-in, no class name memorisation marathons, no config files. Just CSS custom properties doing what they were designed to do.
One line. Any HTML file. Any project. Start in under a minute.