Socket
Book a DemoInstallSign in
Socket

expo-ios-morph-symbol

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

expo-ios-morph-symbol

✨ Beautiful morphing animations for SF Symbols in React Native (Expo) ⚡

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

🔮 Morphing SF Symbols for Expo (React Native)

✨ Bring your iOS app to life with fluid SF Symbol transitions!

🚀 Why use this?

  • 🎨 Beautiful native animation – Apple-like morph transitions
  • High performance – Built on SwiftUI & Canvas
  • 🛠 Customizable – Colors, sizes, duration & blur
  • 🔗 Expo-ready – Works seamlessly with Expo projects

📦 Installation

npm install expo-ios-morph-symbol
# or
yarn add expo-ios-morph-symbol

🔑 Props

PropTypeDefaultDescription
iconsSymbolIcon[][]List of SF Symbols with config
indexnumber0The active icon index to display
styleStyleProp<ViewStyle>-Custom style for the container
morphingImageDurationnumber0.5Animation duration in seconds
blurRadiusnumber-Optional extra blur effect

🔥 Usage

import { MorphSfSymbolView } from "expo-ios-morph-symbol";

export default function App() {
  const icons = [
    { name: "heart.fill", size: 80, tint: "red" },
    { name: "star.fill", size: 80, tint: "#FFD700" },
    { name: "bolt.fill", size: 80, tint: "blue" },
  ];

  return (
    <MorphSfSymbolView
      icons={icons}
      index={1} // current active icon
      morphingImageDuration={0.8}
      blurRadius={10}
      style={{ alignItems: "center", justifyContent: "center" }}
    />
  );
}

--

🧠 How it Works?

  • Uses SwiftUI Canvas and alpha thresholding for smooth shape transitions
  • Animates blur & color using native SwiftUI animations
  • React Native just updates the indexSwiftUI handles the morph

📜 License

MIT © 2025

Keywords

react-native

FAQs

Package last updated on 21 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts