Skip to main content
@kanso-labs/kanso-ui-core is the design data the two component libraries share. Kanso UI draws it on the web and Kanso UI for React Native on iOS and Android. The package is data and types only. It renders nothing, imports no React and relies on no platform, so a browser bundle, Metro and Node can all load it.
You do not install it in an app. Each library takes it as a pinned development dependency and bundles what it reads into its own dist, so an app installs @kanso-labs/kanso-ui or @kanso-labs/react-native-kanso-ui and never this. It is useful directly when you build tooling of your own around the tokens.

What it publishes

Design tokens

The token source, the files built from it, and how a change reaches both libraries.

Glyphs and demo schemes

The two subpaths both Storybooks and both libraries draw from.