kanso/ui

Getting started

Introduction

Kanso UI is a set of minimal, accessible React components that you copy into your app and own.

Kanso (簡素) is a Japanese design idea: simplicity through leaving things out. Each component here has one job, a quiet default look, and nothing you need to undo.

This is not a library you install from npm. You pick a component, run one command or paste one file, and it becomes part of your codebase. From then on it is your code.

What you get

  • 29 components built on Radix primitives, so keyboard and screen reader support come built in.
  • A token system in OKLCH CSS variables. Dark mode swaps the tokens, not the classes.
  • A registry that the shadcn CLI understands, served from /r.
  • Blocks: larger compositions such as a sign-in form, a stats row and a settings page.
  • A theme builder that writes the CSS for you.

FAQ

Why copy code instead of installing a package?

A package decides your styles and your upgrade schedule. When the source sits in your repo, you change a class or a behaviour directly, with no wrapper, override or fork.

How is this different from shadcn/ui?

It uses the same idea and the same registry format, so the shadcn CLI installs it. The visual language is quieter: hairline borders, smaller shadows, one neutral palette, and a few extras such as Empty, Kbd and Spinner.

Which frameworks does it work with?

Any React 19 setup with Tailwind CSS v4: Next.js, Vite, Remix, Astro islands. Components that need the browser are marked with "use client".