Skip to main content
On this page

Introduction

Accessible React components with CSS-first themes. A consistent foundation you can adapt to your product.

Build on a consistent foundation.

Ninna UI brings together 69 accessible React components, five theme presets, and a shared set of semantic tokens. Use the published packages, style with Tailwind CSS v4, and keep control of the details.

Components
69
Theme presets
5
Theming
CSS-first

Why Ninna UI

Useful defaults that leave room for your own design.

Theme with CSS

Import a preset and use semantic colors. The component theme needs no JavaScript styling runtime or provider.

Accessible interactions

Radix-powered widgets provide keyboard navigation, focus management, and screen reader semantics behind Ninna's API.

Install what you use

Choose individual component packages. Tree-shakeable exports keep the rest out of your application bundle.

Keep your styling workflow

Use className, Tailwind utilities, and data-slot selectors to adapt components without forking their source.

Find your components

Each component is exported from one package. Use the package shown in its documentation.

Designed to work together

  • React 19 and TypeScript
  • Tailwind CSS v4 utilities
  • Five CSS theme presets
  • Light, dark, and system modes
  • Ref forwarding and className support
  • Named data-slot customization

Design principles

Semantic colors

Choose primary for important actions, neutral for supporting surfaces, and status tokens when a state carries meaning.

Composition over configuration

Combine small components into an interface that fits your product. Shared spacing, color, and state conventions keep it coherent.

Your brand, your control

Use a preset as a starting point. Override CSS variables or target a data-slot when you need a more specific treatment.

Start building

Set up your framework, import a theme, and add your first component.

Scaffold a project

npx @ninna-ui/cli@latest init my-app

Compose your first interface

import { Button } from "@ninna-ui/primitives";
import { Field, Input } from "@ninna-ui/forms";
import { VStack } from "@ninna-ui/layout";
export default function App() {
return (
<VStack gap="4" className="max-w-sm p-6">
<Field label="Email">
<Input type="email" placeholder="you@example.com" />
</Field>
<Button color="primary">Get started</Button>
</VStack>
);
}