@bytelyst/react-native-ui (0.1.0)

Published 2026-07-27 04:51:51 +00:00 by learning_ai_user

Installation

@bytelyst:registry=
npm install @bytelyst/react-native-ui@0.1.0
"@bytelyst/react-native-ui": "0.1.0"

About this package

@bytelyst/react-native-ui

Small, token-driven React Native primitives for ByteLyst Expo applications.

It intentionally starts with the repeated cross-product needs proven in NomGap: a theme provider, accessible buttons, labelled fields with inline validation, and intentional empty/loading/error state surfaces. It has no Expo dependency and does not include product-specific copy, icons, or navigation.

import { Button, ByteLystThemeProvider, StateView, TextField } from '@bytelyst/react-native-ui';

<ByteLystThemeProvider preference="system">
  <TextField label="Email address" keyboardType="email-address" autoCapitalize="none" />
  <Button onPress={save}>Save changes</Button>
  <StateView tone="offline" title="You are offline" description="Reconnect and try again." />
</ByteLystThemeProvider>;

The package consumes @bytelyst/design-tokens/react-native; run the token generator before changing the shared token schema.

Dependencies

Dependencies

ID Version
@bytelyst/design-tokens 0.2.1

Development Dependencies

ID Version
@types/react ^19.0.0
typescript ^5.7.0
vitest ^4.0.0

Peer Dependencies

ID Version
react >=18.0.0
react-native >=0.72.0

Keywords

react-native expo design-system bytelyst
Details
npm
2026-07-27 04:51:51 +00:00
2
MIT
latest
7.0 KiB
Assets (1)
Versions (1) View all
0.1.0 2026-07-27