ChaiUI parses your HTML classes at runtime and applies styles directly no build step, no framework. Just a single JS file and your imagination.
One script tag. Zero configuration. Instant styling ecosystem.
Use chai-* on any element. Mix hex colors and sizes freely.
The DOM scans on load. Your styles are injected in milliseconds.
<!-- Instant Runtime Styling --> <div class="chai-bg-[#097FE8] chai-p-8 chai-rounded-12"> <h1 class="chai-text-white chai-bold">Hello ChaiUI</h1> </div>
<script src="https://unpkg.com/chaiui-js"></script>
<script>
ChaiUI.init();
</script>
Or install via npm:
npm install chaiui-js