Skip to content

Releases

v0.4.0 — 🔒 Security

Choose a tag to compare

@github-actions github-actions released this 20 Nov 20:18
fa2000f

v0.4.0

🔒 Security

  • Registry file paths may no longer contain control characters, and add, update and diff strip them from every path they print, so a registry can't send terminal escape sequences. Registry names in registryDependencies and nativra.json must be lowercase letters, numbers and -, and names in nativra.json must be unique.
  • Remote registries are fetched one redirect at a time: a hop from HTTPS to plain HTTP (or from http://localhost to anywhere else) is refused before it is requested, and more than 5 redirects fail.
  • nativra.lock.json, nativra.json, .gitignore and .nativra/backups/ are no longer written or deleted through a symbolic link.
  • Release workflow: each job gets only the permissions it needs, checkout no longer leaves a token in .git/config, and an optional job publishes to npm with provenance through trusted publishing.
  • The npm publish job installs dependencies with --ignore-scripts, so no install script runs while the job can mint a publish token.
  • add --dry-run strips control characters from item names too, the last registry text the CLI printed unfiltered.
  • A http://localhost registry may only redirect to localhost, as documented.
  • pnpm audit no longer ignores the two image-size advisories: Expo SDK 58's Metro doesn't use image-size at all. The unused deepmerge override is gone.
  • CodeQL also scans the GitHub Actions workflows (actions language).

✨ MCP server

  • New nativra-mcp package: an MCP server with nativra_search, nativra_list, nativra_info, nativra_init, nativra_add, nativra_diff, nativra_update and nativra_doctor, so AI agents can find and install components. It runs the bundled CLI with argument arrays and never prompts. It can't force-overwrite edited files or remove items.

✨ Registry

  • New components: search-bar, form-field, list-item, swipeable-row (no gesture-handler needed; actions are also screen-reader actions) and time-picker. New register-form block, and new use-form and use-infinite-scroll hooks. All are beta.
  • New components: country-picker (searchable, about 240 countries with flags and dial codes), phone-input (country code picker; autofilled +44… numbers pick their country; toE164), credit-card-input (brand detection, Luhn, auto-advance), image-with-fallback, section-list (themed headers, inset-grouped variant) and color-swatch. All are beta.
  • New code-scanner component (QR and barcodes on expo-camera, with a framing guide, torch, duplicate filtering and permission states) and use-image-picker hook (library or camera on expo-image-picker, with permission handling and a blocked-permission state). Both are beta.
  • New blocks: transaction-history (grouped by day, daily totals, running balance), product-card, search-results-row (query highlighting) and chat-bubble (grouping, delivery ticks, retry). New templates: social-feed, booking-flow and profile-flow. All are beta.
  • Button takes any node as its label, leftIcon / rightIcon (a node, or a function given the label color), and a function style; the loading spinner scales with the size.
  • labels prop on chat-bubble, product-card, transaction-history, code-scanner, country-picker, phone-input, time-picker and credit-card-input: every piece of text they show or read to screen readers, for translation. Anything left out stays English.
  • use-form catches a rejected onSubmit into submitError (so onPress={form.handleSubmit} is safe) and handleSubmit resolves to whether it succeeded. register-form shows that error.
  • Selected and checked states are also set as aria-selected / aria-checked, so they reach screen readers on web too (the docs previews). Radios report "checked".

✨ CLI

  • nativra diff --summary prints one line per file and a count instead of the patch.
  • nativra list --outdated lists only items with an update and exits 1 when there are any.
  • nativra search marks beta, experimental and deprecated items.
  • nativra info --json --docs includes the item's usage docs.
  • nativra update --check: like --dry-run, but exits with code 1 while anything is out of date. An edited file whose registry source hasn't changed is reported as your edit and doesn't count.
  • nativra doctor --json prints the checks as JSON for CI.
  • add no longer treats a file that already matches what it would write as a conflict, and starts tracking it.
  • Import rewriting also covers side-effect import "@/…", import("@/…") and require("@/…").
  • nativra diff --exit-code exits with code 1 while the installed files differ from the registry, for CI.
  • update removes files that a new item version no longer ships (backed up first, so rollback restores them). A dropped file you edited is kept and no longer tracked.
  • nativra doctor warns when the project's NativeWind major isn't one Nativra's sources target, and when NativeWind 4 is paired with Tailwind CSS 4.
  • init --force (or answering yes to replace) backs up the previous nativra.json; nativra rollback nativra-config restores it.
  • Items with many dependencies resolve faster: each item's dependencies are fetched at once, and concurrent lookups of one item share a request.
  • nativra info <id> shows the installed version and whether an update is available (installedVersion and updateAvailable with --json).
  • nativra list --installed lists what the project has installed, each with the registry's current version and whether an update is available (--json too).

🐛 Fixes

  • list --outdated lists items whose registry couldn't be read and exits 1, instead of printing "Everything installed is up to date" and passing a CI check while the registry was down.
  • The MCP server reports a CLI failure from nativra_list (outdated) or nativra_doctor as an error; exit code 1 counts as results only with JSON output.
  • Slider is version 0.3.1, so projects get its scroll-handoff fix through update (it was changed without a version bump).
  • credit-card-input moves to the expiry field after 16 digits for Visa, Discover, JCB and UnionPay, not only at their 19-digit maximum.
  • use-infinite-scroll with enabled: false no longer loads page 1 when an empty FlatList calls onEndReached.
  • NativeWind Button passes a plain style array unless the caller passes a style function, so NativeWind's className merge can't drop the shadow.
  • code-scanner shows "Open Settings" once camera access is blocked, instead of a disabled button.
  • time-picker finds a 24-hour locale through hour12 or a formatted 13:00 when the engine doesn't report hourCycle.
  • country-picker sorts its list at load: "U.S. Virgin Islands" was out of order.
  • update keeps tracking a file it could not remove, instead of forgetting it while it stays on disk; update --check no longer fails over a dropped file that is already gone.
  • rollback nativra-config refuses to discard edits made to nativra.json after init, unless --force.
  • add keeps the CRLF line endings of a file that is already up to date.
  • init only warns when it can't add .nativra/ to a symlinked .gitignore, instead of reporting that nativra.json failed.
  • Sibling imports named after Object.prototype members (./toString, ./constructor) are no longer rewritten.
  • Slider: a vertical scroll that starts on the slider scrolls the page instead of changing the value; accessibility actions at the limits no longer fire onSlidingComplete.
  • NativeWind Button, Input and Textarea add a caller's className to their own classes instead of replacing them.
  • Blocks and templates use the style's press feedback (pressedStyle) instead of a fixed opacity.
  • Installing an item whose id is already installed from another registry (acme/button after button) is refused instead of overwriting the other's lockfile entry and backups.
  • audit --fix refreshes lockfile hashes of the files it migrates that were unedited before, so update keeps updating them; rollback audit-fix moves them back.
  • A lockfile entry without a version or files map gets the "restore it from git" error instead of a crash.
  • remove no longer deletes the install folders named in nativra.json when they become empty.
  • The registry build rejects an item with two files that would install under the same name.
  • Docs home page: the registry overview counts every item type (utilities included) from the registry, so each card matches the catalog it links to.
  • rollback reads and verifies every backup file before it changes anything. A corrupt backup used to fail halfway, leaving some files restored and the lockfile stale; if a write fails now, the files already restored are put back.
  • Lockfile ids are looked up without Object.prototype, so nativra remove constructor reports an unknown item instead of crashing, and a registry item named like a prototype member can't leave files untracked.
  • Path checks work in a project at a drive or filesystem root (C:\), where every path used to be rejected.
  • On Windows, dependency installs run as one quoted command line, avoiding Node 24's DEP0190 warning.
  • theme add and style add render files through the same code as add, update and diff.
  • The registry build no longer stamps updatedAt with the build time, so identical sources build identical files. It also rejects dependency cycles and deprecated items without a deprecationMessage. It also rejects two items that would install a file with the same name into the same folder.
  • doctor fetches installed items in parallel: on a network that drops requests, each one used to wait out the 15 s timeout in turn.
  • Style and theme preset lookups ignore Object.prototype members, like the lockfile.
  • Package-manager detection stops at the git root, so a stray lockfile in a folder above the project no longer picks the package manager.
  • Release notes: tagging `v0.3....
Read more

v0.3.0 — 🧪 Playground: try Nativra in the browser

Choose a tag to compare

@github-actions github-actions released this 16 Nov 07:44
7e0abf6

v0.3.0

🧪 Playground: try Nativra in the browser

  • /playground on the docs site: a real React Native project running in the browser, laid out like an IDE: an explorer, a registry browser with one-click installs, a tabbed code editor (CodeMirror), a live preview (react-native-web, phone frame or full panel, light or dark), and a Terminal / Console panel. Panes resize by drag or keyboard and collapse; the layout is remembered. Theme and Style pickers in the toolbar run the matching CLI commands. Phones get one pane at a time with a bottom tab bar. No install and no separate deployment: it ships with the docs.
  • Errors: a compile error keeps the last working app on screen (like fast refresh) with a card that opens the failing file; the app's own console output has its own tab with grouped repeats and an error count.
  • A real CLI in the terminal: npx nativra-cli add | remove | list | search | info | theme | style | init run a browser build of the CLI against the docs' own registry, using the same import rewriting and NativeWind CSS generation as the published CLI. Shell basics (ls, tree, cat, touch, rm, clear, reset, help), history and Tab completion included.
  • Both styling targets: StyleSheet runs exactly as on a device; NativeWind compiles classes in the browser with Tailwind's browser build and the project's own global.css theme block.
  • Live editing: TypeScript and JSX compile in the browser (Sucrase) as you type, errors show in the preview and the terminal, and the app's console output appears in the terminal. The project is saved in the browser; Reset starts over.
  • Isolated: the preview runs in a sandboxed iframe with an opaque origin, so project code can't reach the docs site's storage or cookies.
  • Item pages link to the playground with the item preinstalled (/playground?add=<id>).
  • Fixed the NativeWind settings-flow sign-out button, whose text was nearly invisible on its own background.

🎭 Styles: five complete looks, independent of color

  • New item type style: the UI's character (radii by role, type scale, density, how cards and inputs are drawn, shadows, press feedback, dialog backdrop) now lives in lib/themes/style.ts, separate from the colors in theme.ts. Any of the 10 themes works with any style.
  • Five presets: soft (the previous look and still the default), crisp (shadcn/ui-like: small radii, hairline borders, compact), tailwind (Tailwind UI-like: rings with layered shadows, roomy), material (Material 3-like: tonal surfaces, filled fields, lighter headings) and ios (iOS-like: grey grouped surfaces, larger type, dimming press feedback).
  • CLI: nativra init --style <id> (or the new prompt) saves the choice in nativra.json, and components then install with that style. nativra style add <id> switches the whole app (with a backup) and nativra style list shows the presets. NativeWind projects get the matching classes in global.css.
  • All 65 components, blocks and templates read the style in both targets:
    • Font sizes: ts() in StyleSheet, type-* classes in NativeWind.
    • Weights: from the style's heading, title and label weights.
    • Spacing: sp() in StyleSheet; in NativeWind, density-aware sp-p-4, sp-gap-2, … that mirror Tailwind's spacing scaled by the style's density, leaving Tailwind's own p-4 untouched for the rest of the app.
    • Card surfaces: surface(c) / surface.
    • Inputs: field(c) / field, with a focus state.
    • Control heights: the style's control height for buttons, inputs and selects.
    • Press feedback: shrink or dim, depending on the style.
  • Hook: use-theme-colors 0.2.0 adds ts, sp, surface, field and a style-aware elevation/pressedStyle. Theme files no longer carry themeStyle. Projects installed before styles existed get style.ts (their configured style, or soft) on the next nativra update, and keep working until then.
  • Docs: a style picker in every live preview (remembered across pages), a Styles section, and each style's page renders real blocks in that style.
  • Every restyled item is version-bumped, so update picks it up.

🎨 Soft & friendly: every item restyled and theme-driven

  • Style tokens: themes now carry themeStyle: radii by role (button, control, card, surface, chip, small), border width, three soft shadow levels, press feedback and heading weights. The use-theme-colors hook exposes them with elevation() and pressedStyle() helpers, and falls back to the defaults for theme files from earlier versions.
  • Status colors: every theme has success, warning and info (each with a -foreground), in light and dark.
  • All 65 components, blocks and templates use semantic colors and role-based radii in both targets. Blocks and templates previously hard-coded their colors, so theme add now restyles them too. Pill buttons, rounded cards with soft shadows, an inverted toast with status dots, and tinted status alerts.
  • NativeWind: components use semantic shape classes (rounded-button, rounded-card, ...) that the CLI writes into global.css with the color variables; older theme blocks are refreshed on add and update. Add success, warning and info to tailwind.config (the CLI prints the snippet).
  • Type fixes in account-settings-flow, filter-sheet, order-summary, settings-list and team-member-row, which did not typecheck.
  • Readable dark destructive color: every theme's dark destructive is now #f87171 with a dark foreground, so error text and required markers are legible on dark backgrounds.
  • Icon dependencies: the six items that use lucide-react-native now also declare react-native-svg, which lucide needs to render.

📚 Docs: live previews of the real components

  • Item pages render the actual StyleSheet source with react-native-web (the native preview app exported to /preview/), with example tabs, a theme picker and a light/dark toggle. Templates and sheets show in a phone frame. The hand-written HTML imitations are gone.
  • Docs pages no longer print the YAML front matter of docs.mdx files.
  • The native preview app builds again (Babel 7 for Expo 52; the image-size override is pinned to the 1.x line Metro expects). pnpm audit ignores GHSA-5p2g-fcmc-qvqq and GHSA-w3rx-r6r6-pgpr: both are denial-of-service bugs in image-size parsers with no patched 1.x release, reached only through Metro in the private preview app reading this repo's own images, and never shipped to users. Remove the exception when the preview app moves to an Expo SDK whose Metro accepts image-size 2.x.

🐛 Fixes (nativra-cli)

  • src/ projects: the theme import is rewritten through the project's path alias (@/lib/themes/theme). Components installed into a src/ layout previously imported a non-existent @/src/lib/themes/theme. Existing nativra.json files are fixed without re-running init.
  • Exit codes: add, update and remove exit with code 1 when an item can't be resolved or installed, instead of reporting success.
  • Lockfile: written after each item, so a failure part-way through a run no longer leaves installed files untracked. An unreadable nativra.lock.json (for example with merge-conflict markers) now stops the command instead of being silently replaced.
  • Symlinks: add, update, theme add, audit --fix and the global.css theme injection refuse to write through a symlinked file or directory, like remove and rollback already did.
  • audit --fix: keeps the TouchableOpacity/TouchableHighlight import when the file still references it outside JSX (types, Animated.createAnimatedComponent).
  • add --overwrite: when the write fails and is undone, the backup taken for it is discarded, so the next rollback isn't spent on a no-op. update now does the same.
  • Installed theme kept: a theme that only arrives as a dependency (components depend on zinc) no longer replaces the installed theme.ts, even with --overwrite, and no longer fails --on-conflict error. A file is tracked by the item that wrote it last, so remove of a replaced theme can't delete the new one.
  • Errors: unexpected failures (for example an http:// registry URL) print one line and exit 1 instead of a stack trace. An invalid nativra.json is named in the error.
  • Undoing a theme or style switch: theme add, style add and add --overwrite back up a replaced file under the item that owned it, so nativra rollback zinc after switching to rose restores both theme.ts and its lock entry. Rollback also refuses to replace a file another item now owns if it was edited, and takes restored files back from that item.
  • Rollback accuracy: files an update created are removed again, and a file that was the user's own (replaced by add --overwrite) goes back to untracked, so a later update won't overwrite it unasked.
  • add <theme> --overwrite: rewrites the NativeWind theme block in global.css for the new theme.
  • --registry with diff and update: the override is used even for items installed from another registry. diff reports an unreadable lockfile instead of ignoring it.
  • add --install: a failed package install now fails the run (exit code 1).
  • Imports: an item's own sibling file (for example a block's ./Card) is never rewritten to a dependency's file of the same name.
  • init: refuses to replace an existing nativra.json without confirmation (--force in scripts), and Ctrl+C at a prompt writes nothing.
  • audit --fix: migrated TouchableOpacity keeps its press dimming as a Pressable style function. TouchableHighlight and touchables that spread props are left for manual migration.
  • update: no longer writes a theme into global.css when none is installed.
  • rollback: undoing an update restores the version recor...
Read more

v0.2.3 — 🚀 Developer Experience & Ergonomics Upgrade

Choose a tag to compare

@github-actions github-actions released this 09 Nov 23:39

v0.2.3

🚀 Developer Experience & Ergonomics Upgrade

  • Import Alias Rewriting (nativra-cli):
    • Automatically transforms component imports to match custom project structure and path aliases configured in nativra.json (e.g. @/components/ui, ~/components, or relative paths).
    • Handles multi-line import statements and namespace imports seamlessly during nativra add and nativra update.
  • Auto-Dependency Installer (--install):
    • Added --install and --no-install flags to nativra add.
    • Automatically detects missing package dependencies and peer dependencies, prompting or executing installation using the project's native package manager (npx expo install, pnpm add, yarn add, bun add, or npm install).
  • Audit Tool Enhancements (nativra audit --fix):
    • Precise line and column numbers reported for every audit finding.
    • Detects allowFontScaling={false} accessibility violations.
    • Introduced --fix flag to automatically migrate legacy React Native <TouchableOpacity> to <Pressable> with preserved props.
  • Multi-Theme CSS Injection:
    • nativra theme add --as <name> --apply-css auto-generates CSS variable rules and injects named theme classes into global.css.
    • Added new theme presets including midnight and dark-slate.
  • 100% Component Contract Coverage:
    • @nativra/component-contracts now covers all 39 components (adding contracts for Badge, Card, Checkbox, Dialog, DropdownMenu, Progress, RadioGroup, Skeleton, Switch, Tabs, and Tooltip).
    • Standardized style?: StyleProp<ViewStyle> override and native prop forwarding across all components in both NativeWind and StyleSheet flavors.
  • Runnable Example Showcases:
    • Upgraded both examples/expo-nativewind and examples/expo-stylesheet into 4-tab interactive mobile showcase applications (Controls, Feedback, Layout, Forms).
    • Added strict TypeScript configs and verified clean typechecks.
  • Docs & Search Improvements:
    • Added keyboard navigation (↑/↓/Enter) and active item scrolling to documentation search dialog.
    • Synchronized component and block counts across all documentation pages and README.

v0.2.2 — Security, Registry & Dependency Hardening

Choose a tag to compare

@github-actions github-actions released this 09 Nov 23:33

🛡️ Nativra — Security, Registry & Dependency Hardening

🔒 Security & Supply-Chain Hardening

  • Path Traversal & Symlink Protection (nativra-cli): Enforced strict project-root (cwd) containment and symlink rejection across nativra add, nativra update, nativra remove, nativra rollback, and nativra theme add.
  • Portable Lockfile Paths: nativra.lock.json now records portable POSIX project-relative file keys (while seamlessly migrating legacy entries).
  • Mandatory SHA-256 Verification & HTTPS Enforcement: @nativra/registry-client now requires valid SHA-256 hashes for all hydrated source files and validates item IDs prior to file/URL resolution; remote registries require https://.
  • Backup Integrity Verification: nativra rollback now validates backup SHA-256 digests before restoring files.
  • Zero Dependency Advisories: Upgraded zod, vitest, vite, and postcss and configured patched pnpm.overrides (pnpm audit reports 0 vulnerabilities, down from 59).

📦 Registry & Configuration Fixes

  • Live Registry Default URL: Updated default registry base URL across nativra-cli, @nativra/registry-schema, and example configurations to https://nativra.vercel.app.
  • Complete Dependency Declarations: Added missing cn utility and class-variance-authority dependency declarations across fab, icon-button, stack, bottom-sheet, otp-input, safe-area, auth-flow, onboarding-flow, and settings-flow.

v0.2.1 — Security, Registry & Dependency Hardening

Choose a tag to compare

@github-actions github-actions released this 09 Nov 22:29

🛡️ Nativra — Security, Registry & Dependency Hardening

🔒 Security & Supply-Chain Hardening

  • Path Traversal & Symlink Protection (nativra-cli): Enforced strict project-root (cwd) containment and symlink rejection across nativra add, nativra update, nativra remove, nativra rollback, and nativra theme add.
  • Portable Lockfile Paths: nativra.lock.json now records portable POSIX project-relative file keys (while seamlessly migrating legacy entries).
  • Mandatory SHA-256 Verification & HTTPS Enforcement: @nativra/registry-client now requires valid SHA-256 hashes for all hydrated source files and validates item IDs prior to file/URL resolution; remote registries require https://.
  • Backup Integrity Verification: nativra rollback now validates backup SHA-256 digests before restoring files.
  • Zero Dependency Advisories: Upgraded zod, vitest, vite, and postcss and configured patched pnpm.overrides (pnpm audit reports 0 vulnerabilities, down from 59).

📦 Registry & Configuration Fixes

  • Live Registry Default URL: Updated default registry base URL across nativra-cli, @nativra/registry-schema, and example configurations to https://nativra.vercel.app.
  • Complete Dependency Declarations: Added missing cn utility and class-variance-authority dependency declarations across fab, icon-button, stack, bottom-sheet, otp-input, safe-area, auth-flow, onboarding-flow, and settings-flow.

v0.2.0 — 81 Registry Items, CLI Audit & Density Scales

Choose a tag to compare

@sleepy-daemon sleepy-daemon released this 08 Nov 20:27

🚀 Nativra v0.2.0 — 81 Registry Items, CLI Audit & Density Scales

✨ New in v0.2.0

  • 8 New Mobile Components (39 Total):
    • chip (Chip) — Interactive filter, selection, and removable tag chips
    • date-picker (DatePicker) — Native-feeling calendar & preset date selector
    • header-bar (HeaderBar) — Mobile top navigation bar with back & trailing actions
    • bottom-tab-bar (BottomTabBar) — Bottom navigation dock with active pill & badge counts
    • action-tile (ActionTile) — Quick-action icon tiles (Scan, Send, Split)
    • stat-tile (StatTile) — Compact KPI metric tile with trend delta badge
    • pagination-dots (PaginationDots) — Carousel & onboarding step indicator dots
    • error-boundary (ErrorBoundary) — Mobile crash recovery boundary card
  • 3 New Mobile Ergonomics & A11y Hooks (7 Total):
    • use-debounced-press (useDebouncedPress) — Prevents accidental double-taps on navigation/checkout
    • use-reduced-motion (useReducedMotion) — Subscribes to OS Reduce Motion preference
    • use-screen-reader (useScreenReader) — Detects iOS VoiceOver / Android TalkBack + live announcements
  • New CLI Command — npx nativra-cli audit:
    • Scans your React Native/Expo codebase for Nativra adoption, hardcoded hex colors, legacy <Touchable*> primitives, and screen-reader accessibility coverage, outputting a 0–100% Health Score (with --json support for CI).
  • Theme Engine Upgrades (@nativra/theme-engine):
    • Added Density Presets (compact | regular | comfortable), Font Scale Tiers (sm | md | lg | xl), a 12-Variant Typography Scale with tabular numerals, and WCAG AAA High-Contrast Mode.
  • Interactive Docs Showcase (https://nativra.vercel.app):
    • Added an interactive Bento Component Showcase on the homepage and an interactive Typography, Density & Spacing Visualizer on the Theming page.

v0.1.1 — Nativra CLI, Interactive Preview & Docs

Choose a tag to compare

@sleepy-daemon sleepy-daemon released this 08 Nov 19:59

✨ Nativra v0.1.1 — CLI & Documentation Release

📦 Quick Start

# Initialize Nativra in your Expo or React Native project
npx nativra-cli init

# Add components, blocks, or full-screen templates
npx nativra-cli add button card dialog

🔄 What's Changed in v0.1.1

  • Published nativra-cli@0.1.1 on npm: Registered both nativra and nativra-cli binaries (https://www.npmjs.com/package/nativra-cli).
  • Documentation & Registry Sync (https://nativra.vercel.app): Updated all CLI commands, interactive hero playground, theme gallery, and all 70 registry source headers to npx nativra-cli.
  • Interactive Native Preview (@nativra/native-preview): Added dual Phone Frame (iPhone 16 Pro simulator) & Wide View gallery, dark/light/auto theme switcher, search, category pills, and one-click CLI command copy.
  • SEO & Security: Upgraded next-mdx-remote to ^6.0.0, added JSON-LD structured data (SoftwareApplication, FAQPage, TechArticle, BreadcrumbList), /manifest.webmanifest, and canonical URLs across all 126 static routes.

🔗 Links

v0.1.0 — Initial Public Release (70 Registry Items & CLI)

Choose a tag to compare

@sleepy-daemon sleepy-daemon released this 08 Nov 19:59

🚀 Nativra v0.1.0 — Initial Public Release

Nativra is a source-first UI component library and CLI for React Native & Expo (shadcn/ui for mobile) with 1:1 NativeWind v4 and React Native StyleSheet parity.

✨ Highlights

  • 31 Production-Ready UI Components: Button, IconButton, FAB, Input, Textarea, Select, SegmentedControl, Slider, Checkbox, Switch, RadioGroup, OTPInput, RatingStars, Avatar, Badge, Card, DataTable, Label, Text, Separator, Skeleton, Progress, Spinner, Alert, Dialog, Toast, Tabs, Accordion, BottomSheet, Stack, SafeArea.
  • 16 Composite Blocks: KPI Comparison Card, Mini Sparkline Card, Transaction Row, Payment Method Card, Pricing Card, Order Summary, Login Form, OTP Verification Card, Filter Sheet, Empty State, Notification Item, Activity Timeline, Profile Header, Search Bar, Settings Group, Social Auth Buttons.
  • 8 Full-Screen Templates: Analytics Dashboard, Fintech Wallet, E-Commerce Flow, Chat Flow, Account Settings Flow, Auth Flow, Onboarding Flow, Settings Flow.
  • 4 Mobile Hooks & 3 Utilities: useHaptics, useKeyboard, useColorScheme, useDisclosure, cn, platform, compose-refs.
  • CLI (nativra-cli): init, add, diff, update, remove, rollback, doctor, list, search, info, theme, registry.