DS0
Getting Started

Introduction

DS0 is an AI-native design system framework that scales from freelancer to enterprise.

What is DS0?

DS0 (Design System Zero) is the foundational "zero layer" for building design systems. It provides:

  • Headless Primitives — Accessible, unstyled components with full keyboard support and ARIA compliance
  • Styled Components — Beautiful defaults using Tailwind CSS, copy-paste into your project via CLI
  • Design Tokens — W3C DTCG format tokens that cascade from core → semantic → theme → brand
  • AI Manifests — Every component includes machine-readable metadata so AI tools can make intelligent suggestions
  • Cross-Platform — React, React Native (NativeWind), and Web Components from the same primitives

Use As Little Or As Much As You Want

DS0 isn't all-or-nothing. Every layer is independently useful:

Pick What You NeedOne CommandWhat You Get
Just tokenspnpm add @ds0/tokensCSS variables for colors, spacing, radius — in any project
Just primitivespnpm add @ds0/primitivesAccessible headless components — bring your own CSS
One componentnpx ds0 add buttonA single styled component — nothing else
Full systemnpx ds0 init -yEverything, zero config

Think of it like Bootstrap: grab the parts you need, ignore the rest. Learn more →

Works With Your Stack

DS0 auto-detects your framework. No manual configuration:

FrameworkSupportSetup
Next.jsFull (App + Pages Router)npx ds0 init -y
ViteFullnpx ds0 init -y
RemixFullnpx ds0 init -y
AstroReact islandsnpx ds0 init -y
GatsbyFullnpx ds0 init -y
No frameworkWeb Components + CDNOne <script> tag

Already have a project? DS0 runs alongside your existing components with zero conflicts. See the integration guide →

Coming from Bootstrap, MUI, or Chakra? We have a migration guide →

Who is DS0 for?

AudienceHow DS0 Helps
FreelancersGrab styled components, ship fast. npx ds0 add button and go.
StartupsConsistent, accessible UI from day one. Grows with you.
EnterpriseUse headless primitives with your own brand tokens. Full governance.
AI ToolsStructured manifests and decision trees. Zero hallucination on component choices.

Architecture

DS0 operates at three tiers:

  1. Primitives (@ds0/primitives) — Headless behavior, keyboard, ARIA. Install as npm package.
  2. Styled Components — Primitives + Tailwind. Copied into your project, you own the code.
  3. Recipes — Multi-component patterns (auth forms, dashboards). Also copy-paste.

Adoption Paths

Choose the entry point that fits your situation:

🟢 New project?npx ds0 init -yQuick Start

🟡 Existing project?npx ds0 init alongside your current stack → Existing Projects

🔵 Just need pieces? → Install individual layers → Cherry-Picking

🟠 Migrating from something? → Component-by-component replacement → Migration Guide

Open Source

DS0 is MIT licensed. Use it for anything. Contribute at github.com/rwyatt2/ds0.

On this page