Skip to content
Noksha UIv0.1
Colour theme

v0.1 · MIT · React 18 and 19

Components you can theme in one line — or take with you.

23 accessible React components built on Tailwind CSS. Every token is a CSS variable, so a rebrand is a declaration rather than a fork — and every component can be copied into your own tree without giving up upgrades.

Components
23Components
CSS import to set up
1CSS import to set up
Third-party runtime deps
3Third-party runtime deps
Contrast, gated at build
AAContrast, gated at build
Installs from npm
104Installs from npm

Quick start

Two lines to a working install

No provider, no config file, no Tailwind extend block.

1 · Add the package

pnpm add @noksha-ui/react

2 · Import the stylesheet

/* app.css */

@import 'tailwindcss';

@import '@noksha-ui/react/styles.css';

That is the whole setup. The rest — Tailwind v3, the no-flash script, and calling a component from a Server Component — is on Installation.

Why this one

Four decisions the rest of the library follows from

How the theming works

One hex value becomes the whole library

These swatches were generated by the token engine during this build — not sampled from a screenshot.

Accent#6366F1
50100200300400500600700800900950
Neutral#71717A
50100200300400500600700800900950
  1. 1Seed

    One brand colour

    A single hex value is the entire input. Nothing else is configured.

  2. 2Scales

    Eleven perceptual steps

    Generated in OKLCH, so the steps are evenly spaced to the eye rather than to the maths.

  3. 3Semantics

    Meaning, not numbers

    Steps become roles — surface, border, solid, ink — twice over: once for light, once for dark.

  4. 4Contrast gate

    Checked at build

    Every text pairing is measured against WCAG AA. A seed that cannot carry readable text fails the build instead of shipping.

Change the seed and every component moves with it. Try it in the theme builder.

How it compares

The trade you normally have to make

Install-and-go libraries keep the source; copy-paste libraries lose the upgrade path. This is an attempt at both columns.

Capabilities compared across MUI, Ant Design, shadcn/ui and Noksha UI
CapabilityMUIAnt Designshadcn/uiNoksha UI
Install and goyesyesnoyes
Own the sourcenonoyesyes
Zero runtime CSS-in-JSnonoyesyes
Theming with no providernononoyes
Perceptual colour scalesnononoyes
Upgrade diffs after you copynononoyes

Scope

What is deliberately not here

  • No opinionated brand

    Noksha is not one company’s design system with the name filed off. The default seed is a starting point, not a house style.

  • Tailwind stays the styling layer

    This is a component library, not a CSS framework. Utilities remain how you adjust anything.

  • No legacy browsers

    The baseline is oklch() and :has() — Chrome 111+, Safari 16.4+, Firefox 113+.

  • Data components are v0.2

    DataTable, DatePicker, Combobox and the command palette are the next milestone, not this one.

Next

Where to go from here