Every React Native UI kit I've used ended the same way.

It starts great: install the package, drop in a <Button>, ship. Then the designer asks for a slightly different border radius on one variant. You dig through the theming API. It isn't exposed. You wrap the component, then wrap the wrapper, and eventually you're patching node_modules with patch-package and hoping the next upgrade doesn't break it.

The web world has a popular answer to this: shadcn/ui. You don't install a library. A CLI copies the component's source into your project, and from then on it's your code.

I wanted that for mobile, so I built Nativra.

How it works

You need an Expo app (SDK 51+) or a React Native CLI app (0.74+), and Node 20+.

1. Set up the project

npx nativra-cli init 

init looks at your project and asks a few questions: NativeWind or plain StyleSheet, which visual style, and where components should go. Answers are saved in nativra.json. Add --yes to accept the detected defaults.

2. Add a component

npx nativra-cli add button 

This copies real files into your repo:

components/ui/Button.tsx the component hooks/use-theme-colors.ts reads your theme and style lib/themes/theme.ts your color theme lib/themes/style.ts your style: shape, type, spacing 

If the component needs npm packages, the CLI shows the install command and offers to run it.

3. Use it

import { Button } from "@/components/ui/Button"; export default function Screen() { return <Button variant="primary" onPress={() => console.log("Saved")}>Save</Button>; } 

The @/ alias comes from your tsconfig.json; init reads it for you.

What "you own it" means in practice

  • Want a different radius on one variant? Open Button.tsx and change it. No theming API to learn.
  • Nothing changes underneath you. There's no runtime UI package in node_modules to bump. Updates only happen when you ask for them.
  • Code review sees everything. The component is in your diff like any other file.

The trade-off is real. You now maintain that code, and you don't get bug fixes automatically. Nativra handles that part with an update command that skips files you've edited and keeps backups. That's a whole post on its own.

NativeWind or StyleSheet

Most RN component kits pick a styling approach for you. Every Nativra component comes in two versions that look the same: one for NativeWind (Tailwind classes) and one for plain StyleSheet. You pick once during init, and every component you add matches.

What's in the registry

Kind Examples
39 components Button, Input, Card, Select, Dialog, BottomSheet, Tabs, Toast
18 blocks Login form, Settings list, Order summary, Pricing card
8 templates Auth flow, Onboarding, Chat, Fintech wallet, Analytics dashboard
8 hooks Theme colors, Haptics, Keyboard, Reduced motion

You can add several at once:

npx nativra-cli add card input select 

Try it without installing

The playground is a real React Native project running in your browser, with a file explorer, editor, live preview and a terminal where you can run nativra-cli commands.

If you've used shadcn/ui on the web, I'm curious whether you'd want the same workflow on mobile, or whether you prefer a classic installed library.

Nativra: UI components for React Native and Expo that you copy into your project and own. Every component ships in NativeWind and plain StyleSheet versions.

Docs · Playground · GitHub · npm