Skip to content

⚡️ A complete SwiftUI component library for React Native, built with Expo and TypeScript. It allows you to use SwiftUI components in your React Native applications, providing a seamless integration between the two frameworks.

Notifications You must be signed in to change notification settings

rit3zh/swiftui-native

Repository files navigation

SwiftUI Native Logo

SwiftUI Native Logo

SwiftUI Native

Native iOS components and interactions in React Native powered by SwiftUI and Expo Modules.

Made with React Native Maintained? Yes Runs with Expo

Built with love


Note

This library is a fork & modified version of react-native-render-swift-ui.

📝 Overview

SwiftUI Native brings the best of iOS native experiences directly into your React Native apps. With seamless SwiftUI integration via Expo Modules, you can now use:

  • 🚩 Swipe actions with full native fluidity
  • 📚 Navigation stacks & modals
  • ⚙️ Custom native components
  • And more—without writing a single line of Swift in your JS project.

Warning

This library uses Expo Modules. Make sure your project is configured with Expo Dev Client or Bare workflow.


📦 Features

  • ✅ Native iOS swipe actions
  • ⚙️ Configurable styles, icons & behaviors
  • ✨ SwiftUI power, no Swift required
  • 📱 Runs with Expo + React Native

📚 Get Started

yarn add swiftui-native

🚀 Prebuild & Run

# Prebuild your iOS native project
npx expo prebuild -p ios

# Launch on iOS simulator or device
npx expo run:ios

⚙️ Update iOS Deployment Target

If your Xcode project defaults to iOS 14.0, bump it in your ios/Podfile:

platform :ios, podfile_properties['ios.deploymentTarget'] || '14.0'

Warning

Some components may require iOS 16.0 or higher.

🔗 Autolinking

This package supports React Native’s autolinking, so you don’t need to manually link anything—just install and you’re ready to go!


Preview 🎬

📝 Changes

  • ✅ Fixed enableEditing error
  • ➕ Added ToolBarItem component

🤝 Contributing

Love what you see? We’d be thrilled to have you contribute:

  • Feature Requests & Bug Reports Open an issue on GitHub Issues

  • 💬 Discussions & Feedback Join the conversation in GitHub Discussions

  • 📦 Pull Requests

    1. Fork the repo
    2. Create a feature branch (git checkout -b feature/my-feature)
    3. Commit your changes (git commit -m "feat: add awesome component")
    4. Push to the branch (git push origin feature/my-feature)
    5. Open a PR and describe your changes

All contributions—big or small—are welcome! Let’s build something amazing together. 🛠️🎉

About

⚡️ A complete SwiftUI component library for React Native, built with Expo and TypeScript. It allows you to use SwiftUI components in your React Native applications, providing a seamless integration between the two frameworks.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published