React Native UI,
delivered as source.
One command copies typed, accessible components into your Expo or React Native project. NativeWind or StyleSheet. No runtime package, and updates never overwrite your edits.
npx nativra-cli init$ npx nativra-cli add login-form
Resolved 10 items: login-form and 9 dependencies
+ lib/themes/theme.tszinc
+ lib/themes/style.tssoft
+ hooks/use-theme-colors.tsuse-theme-colors
+ components/ui/Card.tsxcard
+ components/ui/Button.tsxbutton
+ components/ui/Input.tsxinput
+ components/ui/Label.tsxlabel
+ components/ui/Separator.tsxseparator
+ components/ui/Text.tsxtext
+ components/ui/LoginForm.tsxlogin-form
~ nativra.lock.json10 items hashed
The files written in a default NativeWind project, computed from the registry at build time.
Workflow
Three commands. The rest is your code.
The CLI also covers diff, remove, rollback, doctor, audit, themes and custom registries. See every command.
Initialize
Detects Expo, NativeWind, a src/ folder and your tsconfig alias, then writes nativra.json.
npx nativra-cli initAdd
Resolves dependencies, rewrites imports to your aliases and hashes every file into nativra.lock.json.
npx nativra-cli add login-formUpdate
Replaces only files you haven't edited, backs them up first, and rollback undoes it.
npx nativra-cli update
Why Nativra
The convenience of a library, the control of your own code.
Source, not a dependency
Plain .tsx in your repo. Nothing from Nativra runs in your app, and nothing changes until you run a command.
One API, two styling targets
NativeWind v4 classes or StyleSheet.create, with identical props. Both read colors from the installed theme.
Updates that keep your edits
SHA-256 hashes in nativra.lock.json tell your changes apart from the original. Edited files are never overwritten silently.
Semantic theme tokens
Light and dark palettes of the same tokens. One theme add command restyles every installed component.
Careful with your project
HTTPS-only registries, path containment and symlink checks, checksum verification and transactional writes.
Checks for the whole app
doctor validates your setup and versions. audit scores accessibility and token hygiene, and can migrate legacy touchables.
Questions
How is this different from a component library package?
There is no Nativra package in your dependencies. The CLI copies TypeScript source into folders you choose, rewrites its imports to your path aliases and records a hash of each file. After that the code is yours to read and change.
NativeWind or StyleSheet: do I have to choose?
You choose once, with stylingTarget in nativra.json. Every item ships both versions with the same props, so switching later doesn't change how your screens use the components.
What happens to my edits when a component is updated?
update compares each file's hash with nativra.lock.json and skips files you changed unless you pass --force. Run diff first to see the difference. Every file update replaces is backed up, and rollback restores it.
Which versions are supported?
Expo SDK 51 or newer and React Native 0.74 or newer, including the New Architecture. The CLI needs Node.js 20+. Run nativra-cli doctor to check a project.
Can I host my own components?
Yes. A registry is a folder of static JSON. Point --registry at an HTTPS URL or a local directory, or register it by name with registry add. Items from any registry get the same checks and lockfile tracking.
Add your first component in a minute.
Works with Expo SDK 51+ and React Native 0.74+.
npx nativra-cli add button