Skip to main content

Introduction

Welcome to the official NachUI documentation.

Build UIs. Keep Control.

Standard component libraries work until you need custom behavior. Then come wrappers, style overrides, and broken consistency.
NachUI solves this. We give you the actual source code. You own the components, design tokens, and patterns. Extend them without limits.
  • Full Ownership: Code lives in your project. Nothing hidden.
  • Open Code: Every line transparent, editable, auditable.
  • Unified Design: Components follow strict visual rules.
  • Compound Components: Semantic API via dot-notation (<Card.Header>). Maximum flexibility.
  • CLI Distribution: Install components via single command. Code copies direct to your repo.
  • AI-Native: Standardized patterns built for AI code generation.

Why Open Source?

Adding a NachUI component means the source code becomes yours.
  • Inspect, audit, modify everything.
  • Change APIs or internal structures without restrictions.
  • No vendor lock-in. No waiting for upstream PRs.
Work directly with the code you need.

Compound Components

Avoid monolithic components with endless boolean flags. Compose UI using semantic, interconnected elements.
1// ❌ Monolithic (rigid, hard to override)
2<Card title="Hello" description="World" content="This is content" />
3
4// ✅ Compound (flexible, readable)
5<Card>
6 <Card.Header>
7 <Card.Title>Hello</Card.Title>
8 <Card.Description>World</Card.Description>
9 </Card.Header>
10 <Card.Content>
11 <p>This is content</p>
12 </Card.Content>
13</Card>
Benefits:
  • Zero Intrusions: Inject wrappers or custom elements without renderProps.
  • Clear Hierarchy: JSX matches exact DOM structure.
  • Focused Typings: Sub-components have specific props. Clean TypeScript autocomplete.
  • Implicit State: Parent shares context with children automatically.

Built for AI

NachUI accelerates AI-assisted development.
  • Open, readable code.
  • Repeatable patterns. AI follows without ambiguity.
  • AI extends your Design System without breaking coherence.
Build faster. Keep ownership.

Everything you need to know