Skip to main content
@kanso-labs/react-native-kanso-ui is Kanso UI for React Native. It keeps the web library’s component names, props, token roles and Material Design readings, and draws them with React Native’s own components rather than React Aria and StyleX, which do not run on native. A theme is the web library’s: a set of --kui-* custom properties with values in CSS syntax. So one theme object serves a web app and a native app alike.

Storybook

Every component through React Native Web, under each demo scheme.

Installation

The package and the libraries it needs beside it.

Theming

ThemeScope, useTheme() and fonts.

Routing and localisation

RouterProvider and I18nProvider.

How it relates to the web library

Both libraries read their tokens from Kanso UI Core, so a token changes in one place and reaches both.

Previewing on a device

The published Storybook renders through React Native Web, which catches token, layout and contrast drift but says nothing about how iOS or Android draws text and shadows. The repository’s example/ app is an on-device Storybook that reads the same stories in Expo Go:
Then open it from the QR code Expo prints.