expo-glow
v0.1.0
Published
Expo implementation of GlowGetter. Lets SwiftUI elements glow brighter than the screen using HDR.
Downloads
10
Maintainers
Readme
expo-glow
An Expo module that brings HDR glow effects to React Native components. This module is a wrapper around the GlowGetter Swift package by @Aeastr.
🎯 Features
- Apply HDR glow effects to any React Native component
- Simple
<Glow>wrapper component with adjustable intensity - Works on HDR-capable displays (iPhone 14 Pro+, recent iPads with ProMotion)
- Web fallback using CSS filters
⚠️ Important Notice
This module uses private Apple APIs (specifically CAFilter) to achieve the HDR glow effect. While the API strings are obfuscated using Base64 encoding, there is still a risk of App Store rejection. Use at your own discretion.
📦 Installation
npm install expo-glow
# or
yarn add expo-glow🚀 Usage
import { Glow } from "expo-glow";
export default function App() {
return (
<Glow intensity={2.0}>
<View style={styles.content}>
<Text>This content will glow! ✨</Text>
</View>
</Glow>
);
}Props
intensity(number, default: 0): The glow intensity multiplier. Values typically range from 0-10, with higher values creating stronger HDR effects.style: Standard React Native view styleschildren: React components to apply the glow effect to
🖥️ Platform Support
- iOS: Full HDR glow effect on compatible devices
- Web: Fallback using CSS
brightnessfilter - Android: Not currently supported
🙏 Credits
This module wouldn't exist without:
- GlowGetter by @Aeastr - The original Swift implementation that made this possible
- @sebjvidal - For the CAFilter implementation approach
👥 Contributors
- @Aeastr - Original GlowGetter implementation
- Claude (Anthropic) - Expo module adaptation
📄 License
MIT License - see LICENSE file for details
