Skip to content

Installation

Synchronicity will be distributed as npm packages. You will be able to install just the tokens, or the complete React Native package.

If you want to use the design tokens with your own components:

Terminal window
pnpm add @synchronicity/tokens

For the complete experience with components and hooks:

Terminal window
pnpm add @synchronicity/react-native

The React Native package requires:

{
"peerDependencies": {
"react": ">=18.0.0",
"react-native": ">=0.72.0",
"react-native-reanimated": ">=3.0.0"
}
}

If you’re developing locally or in a monorepo, you can reference the packages directly:

{
"dependencies": {
"@synchronicity/tokens": "file:../synchronicity-design-system/packages/tokens",
"@synchronicity/react-native": "file:../synchronicity-design-system/packages/react-native"
}
}

Or with pnpm workspaces:

{
"dependencies": {
"@synchronicity/tokens": "workspace:*"
}
}

Both packages include full TypeScript definitions. No additional @types packages needed.

import { createTheme, type Theme, type ThemeObject } from '@synchronicity/tokens';
const theme: ThemeObject = createTheme('dark');

Now that you have Synchronicity installed, check out the Quick Start guide to set up theming.