@synu/synu
v0.1.0
Published
Performance-first, token-native UI design system for React. Install this package to get all Synu libraries: @synu/react, @synu/theme, @synu/core, and @synu/tokens.
Maintainers
Readme
Synu
Performance-first, token-native UI design system for React.
This is the meta-package — installing synu gives you everything:
| Package | Description |
|---|---|
| @synu/react | React components, hooks, and theming context |
| @synu/theme | Precompiled CSS — variables, reset, component styles |
| @synu/core | Headless primitives — state machines, a11y, focus management |
| @synu/tokens | Design token definitions — TypeScript + JSON + CSS variables |
Quick Start
npm install synuimport '@synu/theme';
import { ButtonRoot, ButtonLabel, ThemeProvider } from 'synu';
function App() {
return (
<ThemeProvider>
<ButtonRoot variant="primary">
<ButtonLabel>Get Started</ButtonLabel>
</ButtonRoot>
</ThemeProvider>
);
}Install Individual Packages
If you only need specific parts of Synu:
# Just the React components
npm install @synu/react @synu/theme
# Just the headless core (framework-agnostic)
npm install @synu/core
# Just the design tokens
npm install @synu/tokensFeatures
- Zero Runtime CSS — No CSS-in-JS overhead. Precompiled static CSS.
- Token-Native — Every value is a CSS custom property. Theming is predictable.
- Accessible by Default — WAI-ARIA 1.2, keyboard navigation, focus management built-in.
- Composable — Compound component patterns. No prop explosion.
- Dark Mode — First-class light/dark support via
ThemeProvider. - TypeScript — Full type safety with exported interfaces for every component.
- Tree-Shakeable — ESM + CJS dual publish. Only ship what you use.
Documentation
Visit synu.dev for the full documentation, interactive demos, and API reference.
License
MIT
