@luna-oss/ui
v6.0.0
Published
Moon Design System V6 — token-driven, accessible, motion-aware React component library with WCAG 2.2 AA compliance, OKLCH color system, and AI-native architecture.
Downloads
72
Readme
@luna-oss/ui
The canonical composed/styled component layer of the Moon Design System.
Status
Phase 1. This package re-exports @luna-oss/core so consumers can already
write the new import path:
import { Button } from "@luna-oss/ui";
import { Button as ButtonAlt } from "@luna-oss/ui/button";As the V5 system grows, @luna-oss/ui becomes the canonical home for
composed components and @luna-oss/core shifts to legacy re-exports.
Why a separate package?
- Decouples behaviour primitives (
@luna-oss/primitives) from the styled API consumers reach for first. - Lets us swap underlying implementations without breaking import paths.
- Gives the design system a single, stable surface to document.
Install
npm install @luna-oss/uiSubpath exports
| Path | Returns |
| -------------------------- | ------------------------ |
| @luna-oss/ui | every named export of @luna-oss/core plus the MoonProvider type. |
| @luna-oss/ui/button | Button and ButtonProps. |
