Installation
Works with Expo SDK 54 and newer (checked on every release against the latest create-expo-app) and bare React Native 0.81+. The free components, the icon set and the CLI are open source under MIT: github.com/lumioui/lumioui.
1. Set up your project
npx @lumioui/cli init Run it in your project root. It detects expo vs bare and installs nativewind, react-native-reanimated, react-native-safe-area-context, react-native-svg, clsx and tailwind-merge (through npx expo install on Expo, so versions match your SDK). It copies the shared theme, tokens and hooks into lib/lumioui, and writes global.css (the theme colours), tailwind.config.js, babel.config.js, metro.config.js and nativewind-env.d.ts — only the ones you don't already have. If you keep your own, it lists what to add.
2. Load the theme
init does this for you: it adds the global.css import to your root layout (app/_layout.tsx or src/app/_layout.tsx with Expo Router, or App.tsx) and wraps your app in LumioUI's ThemeProvider, without touching your component. It also adds a short LumioUI section to AGENTS.md so coding agents use the components and theme tokens. Skip either with --no-wire or --no-agents. If your layout has a shape it can't recognise, it prints what to add:
import "./global.css";
import { ThemeProvider } from "./lib/lumioui";
export default function RootLayout() {
return <ThemeProvider>{/* your app */}</ThemeProvider>;
} Adjust the paths to where your layout lives. Restart the bundler with a clear cache once: npx expo start -c.
3. Add components
npx @lumioui/cli add button card input npx @lumioui/cli add --all --dry-run Files land in components/ui/<name> and are yours to edit. Anything a component builds on comes with it.
New to a pattern? The React Native guides walk through bottom sheets, animated tabs, toasts, dark mode and more, each with a live demo.
4. Pro components
Create a licence key under Account › License keys, then log in once on each computer. The CLI checks the key and saves it for every project:
npx @lumioui/cli login # paste your key
npx @lumioui/cli whoami # which account and plan the key belongs to
npx @lumioui/cli add pro/paywall-sheet In CI, set LUMIO_LICENSE_KEY instead; it takes priority over a saved login.
Pro items that need native code warn when expoGoCompatible: false — use a dev build, not Expo Go.
5. Verify
npx @lumioui/cli doctor
npx @lumioui/cli list --pro 6. Teach your coding agent (optional)
npx @lumioui/cli skills add lumioui # free
npx @lumioui/cli skills add lumio-taste # Pro design taste Installs skills for Claude Code (.claude/skills/), Cursor (.cursor/rules/) and any agent that reads AGENTS.md, so it finds and uses LumioUI components instead of writing its own. See all of them with npx @lumioui/cli skills list.
// ask an llm